摘要 |
A logarithm of an input value is computed utilizing a function generator to generate a first logarithm of an approximation value of the input value, scaled to a natural logarithm value where the first logarithm is not a natural base logarithm, and then combined 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 and is utilized in a specified power series to determine the correction value. 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.
|