Method and apparatus for computing an approximation to the reciprocal of a floating point number in IEEE format
AssigneeInternational Business Machines Corporation
InventorJames Bergheim Shearer
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorJames Bergheim Shearer
Estimating the term…
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 2k 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 2k 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).
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:
An apparatus for computing an approximation to the reciprocal of a floating point number x comprising:
Dependencies are inferred from the claim text.