Title :
Emulation of a FMA and Correctly Rounded Sums: Proved Algorithms Using Rounding to Odd
Author :
Boldo, Sylvie ; Melquiond, Guillaume
Author_Institution :
Pare Orsay Univ., Orsay
fDate :
4/1/2008 12:00:00 AM
Abstract :
Rounding to odd is a nonstandard 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 for emulating the fused multiply-and-add operator. We also present an iterative algorithm for computing the correctly rounded sum of a set of 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 by using the Coq proof checker.
Keywords :
floating point arithmetic; iterative methods; Coq proof checker; floating-point numbers; fused multiply-and-add operator; iterative algorithm; Arithmetic; Coherence; Emulation; Hardware; Iterative algorithms; Pipelines; Registers; Robustness; Writing; Computer arithmetic; Verification;
Journal_Title :
Computers, IEEE Transactions on
DOI :
10.1109/TC.2007.70819