Computing elementary functions: A new approach for achieving high accuracy and good performance

32Citations
Citations of this article
6Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We present a method developed in the IBM Israel Scientific Center for designing algorithms for computing the elementary mathematical functions. This method which we call the “Accurate Tables Method” achieves high performance and produces very accurate results. Our method is based on a table lookup and then a minimax polynomial approximation of the function near the table value. It overcomes one of the main problems encountered in elementary mathematical functions computations of achieving last bit accuracy even for the double precision routines. This task is difficult since using extended precision calculations (or simulating them) leads to a significant degradation of the performance. We found a way to obtain correctly rounded results for more than 99.9% of the argument values without using extended precision calculations. Our main idea in the Accurate Tables Method is to use “nonstandard tables” different from the natural tables of equally spaced points in which the rounding error prevents obtaining last bit accuracy. In order to achieve a small error we use the following idea: Perturb the original, equally spaced, points in such a way that the table value (or tables values in case we need several tables) will be very close to numbers which can be exactly represented by the computer (much closer than the the usual double precision representation). Thus, we were able to control the error introduced by the computer representation of real numbers and extended the accuracy without actually using extended precision arithmetic.

Cite

CITATION STYLE

APA

Gal, S. (1986). Computing elementary functions: A new approach for achieving high accuracy and good performance. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 235 LNCS, pp. 1–16). Springer Verlag. https://doi.org/10.1007/3-540-16798-6_1

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free