Patent ID: 8166092

Claim:
An arithmetic device for performing a computation on floating point operands X and Y having a fraction and an exponent, comprising: a comparison unit to compare magnitude of a fraction xf of the X and a fraction yf of the Y; a shifting unit to shift a mantissa x including the xf or a mantissa y including the yf in accordance with a comparison result between the xf and the yf; a fraction computation unit to perform a fraction computation by using the mantissa that was shifted by the shifting unit and another mantissa, and output a computation result of a fraction in which a position of a most significant bit is fixed to be in a prescribed digit; and an exponent computation unit to perform an exponent computation by using an exponent xe of the X and an exponent ye of the Y, modify a result of the exponent computation in accordance with the comparison result, and output a computation result of an exponent.