Economical on-the-fly rounding for digit-recurrence algorithms
Abstract
Apparatus and methods are provided for an improved on-the-fly rounding technique for digit-recurrence algorithms, such as division and square root calculations. According to one embodiment, only two forms of an intermediate result of an operation to be performed by a digit-recurrence algorithm are maintained. A first form is maintained in a first register and a second form is maintained in a second register. Responsive to receiving digits 1 to L−2 of the intermediate result from a digit recurrence unit, where L represents a number of digits that satisfies a predetermined precision for the operation, both forms of the intermediate result are updated by register swapping or concatenation under the control of load and shift control logic and on-the-fly conversion logic. Then, a rounded result is generated by determining digits d L−1 and d L and appending a rounded last digit to the appropriate form of the intermediate result.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: maintaining a first form of an intermediate result of an operation in a first register; maintaining a second form of the intermediate result in a second register; responsive to receiving digits 1 to L−2 of the intermediate result from a digit recurrence unit, where L represents a number of digits that satisfies a predetermined precision for the operation, updating each of the first form and the second form of the intermediate result by register swapping or concatenation under the control of load and shift control logic and on-the-fly conversion logic; generating a rounded
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (3)
- Nannarelli, Alberto, "Low Power Division and Square Root," Dissertation, University of California, Irvine, 1999.
- Oberman, Stuart F., et al., "An Analysis of Division Algorithms and Implementations," Technical Report: CSL-TR-95-675, Computer Systems Laboratory, Jul. 1995.
- Oberman, Stuart F., et al., "Division Algorithms and Implementations, " IEEE Transactions on Computers, vol. 46, No. 8, Aug. 1997, pp. 833-854..