Gal's Accurate Tables Method Revisited

Damien Stehlé 1 Paul Zimmermann 1
1 SPACES - Solving problems through algebraic computation and efficient software
INRIA Lorraine, LORIA - Laboratoire Lorrain de Recherche en Informatique et ses Applications
Abstract : Gal's accurate tables algorithm aims at providing an efficient implementation of elementary functions with correct rounding as often as possible. This method requires an expensive pre-computation of a table made of the values taken by the function - or by several related functions - at some distinguished points. Our improvements of Gal's method are two-fold: on the one hand we describe what is the arguably best set of distinguished values and how it improves the efficiency and correctness of the implementation of the function, and on the other hand we give an algorithm which drastically decreases the cost of the pre-computation. These improvements are related to the worst cases for the correct rounding of mathematical functions and to the algorithms for finding them. We show that the whole method can be turned into practice by giving complete tables for $2^x$ and $\sin x$ for $x \in [\frac{1}{2},1[$, in double precision.
Document type :
Reports
Complete list of metadatas

https://hal.inria.fr/inria-00070644
Contributor : Rapport de Recherche Inria <>
Submitted on : Friday, May 19, 2006 - 9:06:20 PM
Last modification on : Thursday, January 11, 2018 - 6:20:00 AM
Long-term archiving on : Sunday, April 4, 2010 - 9:38:42 PM

Identifiers

  • HAL Id : inria-00070644, version 1

Collections

Citation

Damien Stehlé, Paul Zimmermann. Gal's Accurate Tables Method Revisited. [Research Report] RR-5359, INRIA. 2004, pp.23. ⟨inria-00070644⟩

Share

Metrics

Record views

305

Files downloads

1247