Patent ID: 9690545
Date: 2017-06-27
CPC Classifications: G06F

Claim:
1. A floating-point calculation apparatus comprising: a selection part configured to select, based on an exponent part of an input value, a buffer that corresponds to the input value from a plurality of buffers, one of the buffers storing each of a plurality of values having a different exponent; an addition and subtraction calculation part configured to write a result of performing an addition and subtraction calculation based on the input value and a value stored in the buffer selected by the selection part, on the buffer selected by the selection part; an output determination part configured to determine, based on the value stored in the buffer, an output value of an addition and subtraction calculation based on a plurality of input values; and a buffer management part configured to add a buffer that corresponds to the input value when it is determined, based on the exponent part of the input value, that a buffer used to store the input value is not prepared, wherein when a number of significant digits of the result of performing the addition and subtraction calculation exceeds a number of significant digits of the buffer selected by the selection part, the addition and subtraction calculation part shifts right or shifts left part of the result of performing the addition and subtraction calculation and divides the result of performing the addition and subtraction calculation into values each being storable in one of a plurality of buffers.