摘要 |
PROBLEM TO BE SOLVED: To provide a method and an apparatus for implementing a power of two estimation function in a general purpose floating point processor. SOLUTION: The floating point number is stored within a memory. The floating point number includes a sign bit, a plurality of exponent bits, and a mantissa having an implied bit and multiple fraction bits. In response to a floating point instruction, the mantissa is partitioned into an integer part and a fraction part, based on the value of the exponent bits. A floating number result is formed by assigning an integer part of the floating-point number as an unbiased exponent of the floating-point result, and by utilizing combinational logic hardware for converting a fraction part of the floating point number to the fraction part of the floating point result. COPYRIGHT: (C)2005,JPO&NCIPI
|