Method and apparatus for computing an approximation to the reciprocal of a floating point number in IEEE format
Abstract
A method and apparatus allows the quick computation of an estimate of the reciprocal of a floating point number in IEEE format. A table with 2 k entries allows the computation of an estimate with 2×k+3 good bits. x is a floating point number in IEEE format for which a reciprocal approximation is to be computed. {circumflex over (x)} be a floating point number in IEEE format derived from x by leaving the sign bit unchanged, complementing the exponent bits, leaving the first k fraction bits unchanged, and complementing the remaining fraction bits. t is another floating point number in IEEE format found by using the first k bits of the fraction of x as an index into a table with 2 k entries. The product {circumflex over (x)}×t computed with IEEE floating point arithmetic is an estimate of the reciprocal of x with 2×k+3 good bits (i.e., relative error less than 2 −2×k+3 ).
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of computing a computing machine representation of an approximation to the reciprocal of a floating point number x comprising the steps of: generating a computing machine representation of a floating point number {circumflex over (x)} by leaving a sign bit of x, which is loaded into a first fixed point register, unchanged, complementing exponent bits of x, leaving a first k fraction bits of x unchanged, and complementing remaining fraction bits of x; generating another computing machine representation of a floating point number t found by using the first k bits of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗