Converting binary values into binary-coded-centimal values
Abstract
The disclosed embodiments facilitate converting binary values into the BCC format. One technique facilitates the direct conversion of binary numbers into BCC. A second variation first converts a binary number into an intermediate BCD value, and then converts that BCD value into a BCC value. Look-ahead comparators can further improve conversion performance by decreasing the latency of the conversion operation. By speeding up the conversion of binary values to decimal-format values, the disclosed techniques facilitate leveraging dedicated binary-format hardware for decimal-format operations, and thus improve the performance of decimal-format operations.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for converting a binary value to a binary-coded-centimal value, the method comprising: iteratively shifting bits of the binary value into an intermediate value; analyzing a portion of the intermediate value after each shift to determine whether the portion is greater than a first value, and if so, adding a second value to the portion; and after all of the bits of the binary value have been shifted into the intermediate value, using the intermediate value as the binary-coded-centimal value for the binary value, wherein the binary-coded-centimal value encodes two de
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (2)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 4,638,300 A | Central processing unit having built-in BCD operation | 1987 | 10 |
| US 6,546,411 B1 | High-speed radix 100 parallel adder | 2003 | 18 |
Non-Patent Literature (1)
- Aberth, Oliver; Precise Scientific Computation with a Microprocessor; Aug. 1984; IEEE Transactions on Computers, vol. c-33 No. 8 pp. 685-690.