Fast correctly rounding floating point conversion and identifying exceptional conversion
Abstract
A system and method for converting bases of floating point numbers with improved rounding over an entire exponent range includes identifying exceptional conversions for a given source precision to target precision. A representation of the exceptions is stored in a bit vector for use during conversion execution.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 2.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for converting bases of floating point numbers with improved rounding over an entire exponent range, comprising: identifying exceptional conversions for a given source precision to target precision, wherein said exceptional conversions indicate when a calculation should be checked for adjusting default rounding rules; and storing on a computer-readable storage medium a representation of the exceptional conversions in a bit vector for use during conversion execution; applying rounding rules to the exceptional conversions when encountered.
- Claim 2Depends on #1
The method as recited in claim 1 , wherein identifying exceptional conversions comprises executing a number of test cases, the number being determined by the source and target precisions and by an application of continued fraction theory.
- Claim 3Independent Claim
The method as recit
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (19)
Non-Patent Literature (5)
- Abbott, et al., Architecture and software support in IBM S/390 Parallel Enterprise Servers for IEEE Floating-Point arithmetic, IBM Journal of Research and Development, vol. 43, No. 5/6, pp. 723-760, Sep./Nov. 1999.
- Cornea et al, "Intel itanium floating point architecture", ACM WCAE, pp. 1-9, 2003.
- Evangelista, "Roundoff noise analysis in digital system for arbitrary sampling rate conversion", IEEE, pp. 1016-1023, 2003.
- Fousse et al, "MPFR: A multiple precision binary floating point library with correct rounding", ACM Trans. on Mathematical Software, vol. 33, No. 2, article 13, pp. 1-15, 2007.
- Gordon Slishman, Fast and Perfectly Rounding Decimal/Hexadecimal Conversions, IBM Research Report RC 15683, pp. 1-11, 1990.