A Formally-Proved Algorithm to Compute the Correct Average of Decimal Floating-Point Numbers

Sylvie Boldo,Florian Faissole, Vincent Tourneur

2018 IEEE 25th Symposium on Computer Arithmetic (ARITH)(2018)

引用 0|浏览24
暂无评分
摘要
Some modern processors include decimal floating-point units, with a conforming implementation of the IEEE-754 2008 standard. Unfortunately, many algorithms from the computer arithmetic literature are not correct anymore when computations are done in radix 10. This is in particular the case for the computation of the average of two floating-point numbers. Several radix-2 algorithms are available, including one that provides the correct rounding, but none hold in radix 10. This paper presents a new radix-10 algorithm that computes the correctly-rounded average. To guarantee a higher level of confidence, we also provide a Coq formal proof of our theorems, that takes gradual underflow into account. Note that our formal proof was generalized to ensure this algorithm is correct when computations are done with any even radix.
更多
查看译文
关键词
formally-proved algorithm,decimal floating-point numbers,IEEE-754 2008 standard,radix-2 algorithms,correct rounding,radix-10 algorithm,correctly-rounded average,Coq formal proof,decimal floating-point units
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要