Data processing apparatus and method for converting a fixed point number to a floating point number
AssigneeArm Limited
InventorsDavid Lutz, Christopher Hinds
Life of this patent
Estimating the term…
Loading patent…
AssigneeArm Limited
InventorsDavid Lutz, Christopher Hinds
Estimating the term…
A data processing apparatus and method are provided for converting an m-bit fixed point number to a rounded floating point number having an n-bit significand, where n is less than m. The data processing apparatus comprises determination logic for determining the bit location of the most significant bit of the value expressed within the m-bit fixed point number, and low order bit analysis logic for determining from a selected number of least significant bits of the m-bit fixed point number a rounding signal indicating whether a rounding increment is required in order to generate the n-bit significand. Generation logic is then arranged in response to the rounding signal to generate a rounding bit sequence appropriate having regard to the bit location determined by the determination logic. Adder logic then adds the rounding bit sequence to the m-bit fixed point number to generate an intermediate result, whereafter normalisation logic shifts the intermediate result to generate the n-bit significand. At this point, due to the incorporation of the rounding information prior to the addition, the generated n-bit significand is correctly rounded.
A data processing apparatus for converting an m-bit fixed point number to a rounded floating point number having an n-bit significand, where n is less than m, the data processing apparatus comprising:
A method of operating a data processing apparatus to convert an m-bit fixed point number to a rounded floating point number having an n-bit significand, where n is less than m, the method comprising the steps of:
Dependencies are inferred from the claim text.