arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 0803.0439math.NAcs.MScs.NA
收藏

优化浮点实现的多项式

Optimizing polynomials for floating-point implementation

Laboratoire de l’Informatique du Parallélisme, ENS Lyon/CNRS/INRIA/Université de Lyon(并行信息实验室,里昂高等师范学院/CNRS/INRIA/里昂大学)

Florent De Dinechin, Christoph Quirin Lauter

AI总结:

针对浮点实现中Remez多项式可能导致的灾难性抵消问题,提出一种通过修改Remez算法强制小系数为零以简化多项式的方法,减少运算量并保持精度。

摘要:

函数在区间上的浮点实现通常归结为多项式逼近,该多项式通常由Remez算法提供。然而,Remez多项式的浮点求值有时会导致灾难性抵消。当某些多项式系数的幅度相对于其他系数非常小时,就会发生这种情况。在这种情况下,最好将这些系数强制为零,这也减少了运算次数。这种经典用于奇函数或偶函数的技术可以推广到更大类别的函数。提出了一种算法,通过针对不完整单项式基的修改Remez算法,将初始多项式的较小系数强制为零。该技术的一个优点是它是纯数值的,函数被用作数值黑箱。该算法在一个更大的多项式实现工具中实现,并在一系列示例上进行了演示,得到的多项式系数比通常方法更少。

英文摘要:

The floating-point implementation of a function on an interval often reduces to polynomial approximation, the polynomial being typically provided by Remez algorithm. However, the floating-point evaluation of a Remez polynomial sometimes leads to catastrophic cancellations. This happens when some of the polynomial coefficients are very small in magnitude with respects to others. In this case, it is better to force these coefficients to zero, which also reduces the operation count. This technique, classically used for odd or even functions, may be generalized to a much larger class of functions. An algorithm is presented that forces to zero the smaller coefficients of the initial polynomial thanks to a modified Remez algorithm targeting an incomplete monomial basis. One advantage of this technique is that it is purely numerical, the function being used as a numerical black box. This algorithm is implemented within a larger polynomial implementation tool that is demonstrated on a range of examples, resulting in polynomials with less coefficients than those obtained the usual way.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑