## 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.

Original language | English |
---|---|

Title of host publication | Accurate Scientific Computations - Symposium, Proceedings |

Editors | Richard A. Toupin, Willard L. Miranker |

Publisher | Springer Verlag |

Pages | 1-16 |

Number of pages | 16 |

ISBN (Print) | 9783540167983 |

DOIs | |

State | Published - 1986 |

Externally published | Yes |

Event | Symposium on Accurate Scientific Computations, 1985 - Bad Neuenahr, Germany Duration: 12 Mar 1985 → 14 Mar 1985 |

### Publication series

Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|

Volume | 235 LNCS |

ISSN (Print) | 0302-9743 |

ISSN (Electronic) | 1611-3349 |

### Conference

Conference | Symposium on Accurate Scientific Computations, 1985 |
---|---|

Country/Territory | Germany |

City | Bad Neuenahr |

Period | 12/03/85 → 14/03/85 |

### Bibliographical note

Publisher Copyright:© 1986, Springer-Verlag.

## ASJC Scopus subject areas

- Theoretical Computer Science
- General Computer Science