Formally Verified Argument Reduction with a Fused Multiply-Add
Formally Verified Argument Reduction with a Fused Multiply-Add
复制标题
使用融合乘法加法进行正式验证的参数缩减
DOI:
--
复制
发表时间:
2007
影响因子:
3.7
通讯作者:
Ren
中科院分区:
文献类型:
--
作者:
S. Boldo;M. Daumas;Ren
The Cody and Waite argument reduction technique works perfectly for reasonably large arguments, but as the input grows, there are no bits left to approximate the constant with enough accuracy. Under mild assumptions, we show that the result computed with a fused multiply-add provides a fully accurate result for many possible values of the input with a constant almost accurate to the full working precision. We also present an algorithm for a fully accurate second reduction step to reach full double accuracy (all the significand bits of two numbers are accurate) even in the worst cases of argument reduction. Our work recalls the common algorithms and presents proofs of correctness. All the proofs are formally verified using the Coq automatic proof checker.