Fast Polynomial Evaluation for Correctly Rounded Elementary Functions using the RLIBM Approach
Fast Polynomial Evaluation for Correctly Rounded Elementary Functions using the RLIBM Approach
复制标题
使用 RLIBM 方法对正确舍入的初等函数进行快速多项式计算
DOI:
10.1145/3579990.3580022
复制
发表时间:
2023
期刊:
影响因子:
--
通讯作者:
Nagarakatte, Santosh
中科院分区:
文献类型:
--
作者:
Aanjaneya, Mridul;Nagarakatte, Santosh
This paper proposes fast polynomial evaluation methods for correctly rounded elementary functions generated using our RLibm approach. The resulting functions produce correct results for all inputs with multiple representations and rounding modes. Given an oracle, the RLibm approach approximates the correctly rounded result rather than the real value of an elementary function. A key observation is that there is an interval of real values around the correctly rounded result such that any real value in it rounds to the correct result. This interval is the maximum freedom available to RLibm’s polynomial generation procedure. Subsequently, the problem of generating correctly rounded elementary functions using these intervals can be structured as a linear programming problem. Our prior work on the RLibm approach uses Horner’s method for polynomial evaluation.This paper explores polynomial evaluation techniques such as Knuth’s coefficient adaptation procedure, parallel execution of operations using Estrin’s procedure, and the use of fused multiply-add operations in the context of the RLibm approach. If we take the polynomial generated by the RLibm approach and subsequently perform polynomial evaluation optimizations, it results in incorrect results due to rounding errors during polynomial evaluation. Hence, we propose to integrate the fast polynomial evaluation procedure in the RLibm’s polynomial generation process. Our new polynomial evaluation procedure that combines parallel execution with fused multiply-add operations outperforms the Horner’s method used by RLibm’s correctly rounded functions. We show the resulting polynomials for 32-bit float are not only correct but also faster than prior functions in RLibm by 24%
登录
查看更多内容
DOI:
10.1007/978-1-4899-7983-4
发表时间:
2006
期刊:
--
影响因子:
--
作者:
通讯作者:
--
影响因子:
3.7
作者:
C. Jeannerod;Herve Knochel;Christophe Monat;G. Revy
通讯作者:
G. Revy
影响因子:
3.7
作者:
S. Boldo;M. Daumas;Ren
通讯作者:
Ren
影响因子:
--
作者:
Catherine Daramy;D. Defour;F. de Dinechin;J. Muller
通讯作者:
J. Muller
DOI:
10.1109/arith.1999.762822
发表时间:
1999
期刊:
Proceedings 14th IEEE Symposium on Computer Arithmetic (Cat. No.99CB36336)
影响因子:
--
作者:
S. Story;P. T. P. Tang
通讯作者:
P. T. P. Tang