Emulation of a FMA and correctly-rounded sums: proved algorithms using rounding to odd

Sylvie Boldo 1 Guillaume Melquiond 2
1 PROVAL - Proof of Programs
UP11 - Université Paris-Sud - Paris 11, Inria Saclay - Ile de France, CNRS - Centre National de la Recherche Scientifique : UMR
2 ARENAIRE - Computer arithmetic
Inria Grenoble - Rhône-Alpes, LIP - Laboratoire de l'Informatique du Parallélisme
Abstract : 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.
Document type :
Journal articles
IEEE Transactions on Computers, Institute of Electrical and Electronics Engineers, 2008, 57 (4), pp.462-471. 〈10.1109/TC.2007.70819〉
Liste complète des métadonnées

Cited literature [20 references]  Display  Hide  Download

https://hal-ens-lyon.archives-ouvertes.fr/inria-00080427
Contributor : Guillaume Melquiond <>
Submitted on : Wednesday, November 10, 2010 - 2:45:24 PM
Last modification on : Thursday, February 9, 2017 - 3:53:43 PM
Document(s) archivé(s) le : Friday, October 26, 2012 - 3:25:25 PM

File

odd-rounding.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

Sylvie Boldo, Guillaume Melquiond. Emulation of a FMA and correctly-rounded sums: proved algorithms using rounding to odd. IEEE Transactions on Computers, Institute of Electrical and Electronics Engineers, 2008, 57 (4), pp.462-471. 〈10.1109/TC.2007.70819〉. 〈inria-00080427v2〉

Share

Metrics

Record views

519

Files downloads

573