s'authentifier
version française rss feed
Fiche détaillée  Récupérer au format
IEEE Transactions on Computers 4, 57 (2008) 462-471
Versions disponibles :
inria-00080427, version 2
Informatique/Logique en informatique
Informatique/Analyse numérique
Emulation of a FMA and correctly-rounded sums: proved algorithms using rounding to odd
Sylvie Boldo1, Guillaume Melquiond2
1 :  INRIA Futurs - PROVAL
2 :  Inria Grenoble Rhône-Alpes / LIP Laboratoire de l'Informatique du Parallélisme - ARENAIRE
Rounding to odd is a non-standard rounding on floating-point numbers. By using it for some intermediate values instead of rounding to nearest, correctly rounded results can be obtained at the end of computations. We present an algorithm to emulate the fused multiply-and-add operator. We also present an iterative algorithm for computing the correctly rounded sum of a set floating-point numbers under mild assumptions. A variation on both previous algorithms is the correctly rounded sum of any three floating-point numbers. This leads to efficient implementations, even when this rounding is not available. In order to guarantee the correctness of these properties and algorithms, we formally proved them using the Coq proof checker.
Anglais
Floating-point – Rounding to odd – Accurate summation – FMA – Formal proof – Coq
Liste des fichiers attachés à ce document : 
PDF
odd-rounding.pdf(671.9 KB)