形式验证的融合乘加变元约简
Formally Verified Argument Reduction with a Fused-Multiply-Add
摘要:
Cody & Waite参数缩减技术对于相当大的参数非常有效,但是随着输入的增长,没有任何比特可以足够精确地近似常数。在温和的假设下,我们表明,与融合乘加计算的结果提供了一个完全准确的结果,为许多可能的值的输入与一个常数几乎准确的全部工作精度。我们还提出了一个算法,一个完全准确的第二个减少步骤,以达到双全精度(两个数字的所有有效位是重要的),即使在最坏的情况下,参数减少。我们的工作回顾了常见的算法,并提出了正确性证明。所有的证明都使用Coq自动证明检查器进行了正式验证。
英文摘要:
Cody & Waite argument reduction technique works perfectly for reasonably large arguments but as the input grows there are no bit 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 double full accuracy (all the significand bits of two numbers are significant) 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。