This seems like it would be of interest to some of the people here:

https://people.cs.rutgers.edu/~sn349/papers/rlibm-popl-2021.pdf

Quoting from the first paragraph

"... This paper proposes a novel approach for generating polynomial
approximations that can be used to implement correctly rounded math
libraries. Existing methods generate polynomials that approximate the
real value of an elementary function 𝑓 (𝑥) and produce wrong results
due to approximation errors and rounding errors in the implementation.
In contrast, our approach generates polynomials that approximate the
correctly rounded value of 𝑓 (𝑥) (i.e., the value of 𝑓 (𝑥) rounded
to the target representation). ..."

And apparently they get significant speed improvements, also.

FYI,

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to