摘要 |
A logarithm of an input value is computed utilizing a function generator (106) to generate a first logarithm of an approximation value (102) of the input value, scaled to a natural logarithm value where the first logarithm is not a natural base logarithm, and then combined (110) with a correction value, obtaining a natural base logarithm of the input value. An error value, related to the input value and the approximation value, is generated (104) and is utilized in a specified power series to determine the correction value (108). The natural base logarithm obtained is scaled by a natural base logarithm of a desired base of a desired output logarithm, thereby determining the desired output logarithm of the input value that has the desired base. |