Patent ID: 8631061

Claim:
An arithmetic processing apparatus for determining an arithmetic value P, the arithmetic value P being an input value X raised to a power of a variable Y as an exponent, and the input value X represented by a base-M system with M being a predetermined constant number, the arithmetic processing apparatus comprising: at least one processor; and at least one storage medium having encoded thereon computer-executable instructions that, when executed by the at least one processor, cause the at least one processor to: split the input value X in floating-point type data into a mantissa X 1 and an exponent X 2 , the mantissa X 1 being a mantissa part representing a mantissa of the input value X of a floating-point number, and the exponent X 2 being an exponent part representing an exponent of the input value X of the floating-point number; record, in a first storage a logarithmic value of the mantissa of the input value X having the constant number M as a base thereof, determined with respect to the mantissa X 1 ; perform an interpolation process on a plurality of logarithmic values retrieved from the first storage in response to the mantissa X 1 in order to determine the logarithmic value of the mantissa; calculate a logarithmic value Z of the arithmetic value P having the constant number M as the base thereof, based on the variable Y, the exponent X 2 , and the logarithmic value of the mantissa determined by the interpolation process; and calculate the arithmetic value P by raising the constant value M to the power of the logarithmic value Z of the arithmetic value P as an exponent.