s'authentifier
version française rss feed
Fiche détaillée  Récupérer au format
ensl-00260563, version 1
arXiv:0803.0439
Informatique/Arithmétique des ordinateurs
Informatique/Analyse numérique
Informatique/Logiciel mathématique
Optimizing polynomials for floating-point implementation
Florent De Dinechin1, Christoph Lauter1
1 :  LIP - Laboratoire de l'Informatique du Parallélisme
[ARENAIRE - Arithmétique des ordinateurs]
The floating-point implementation of a function on an interval often reduces to polynomial approximation, the polynomial being typically provided by Remez algorithm. However, the floating-point evaluation of a Remez polynomial sometimes leads to catastrophic cancellations. This happens when some of the polynomial coefficients are very small in magnitude with respects to others. In this case, it is better to force these coefficients to zero, which also reduces the operation count. This technique, classically used for odd or even functions, may be generalized to a much larger class of functions. An algorithm is presented that forces to zero the smaller coefficients of the initial polynomial thanks to a modified Remez algorithm targeting an incomplete monomial basis. One advantage of this technique is that it is purely numerical, the function being used as a numerical black box. This algorithm is implemented within a larger polynomial implementation tool that is demonstrated on a range of examples, resulting in polynomials with less coefficients than those obtained the usual way.
Anglais
Polynomial evaluation – floating-point – elementary functions.
12 pages
ACM B.2.4; G.1.0
Liste des fichiers attachés à ce document : 
PDF
polynomHAL.pdf(163.2 KB)
PS
polynomHAL.ps(126.9 KB)