Method and apparatus for converting from floating point to integer representation
AssigneeHuawei Technologies Co., Ltd.
InventorsHuong Ho, Michel Kafrouni
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsHuong Ho, Michel Kafrouni
Estimating the term…
Apparatus and methods for conversion from floating point to signed integer representation are provided. Two's complementation and determination of a shift control signal indicating the number of bit positions for shifting the two's complemented mantissa to produce the signed integer are performed in parallel. Generation of the shift control signal, including application of an optional scaling factor, is performed using an adder, with the most significant bit of input floating point exponent inverted and an external carry-in of one. Two's complementation for generation of the signed integer from the mantissa is performed using an adder. Certain aspects may be utilized for purposes other than format conversion. The two's complementation may be used for general conversion from unsigned to signed integer format or from signed to unsigned integer format.
An apparatus for conversion of a floating point representation to a signed integer representation, the floating point representation including a sign, an exponent, and a mantissa, the apparatus comprising:
An apparatus for generating a representation, in two's complement format, of an input integer A having K bits, the apparatus comprising:
A method for conversion of a floating point representation to a signed integer representation, the floating point representation including a sign, an exponent, and a mantissa, the method comprising:
A method for generating a representation, in two's complement format, of an input integer A having K bits, the method comprising:
Dependencies are inferred from the claim text.