[PATCH 3/7] sin/cos slow paths: remove slow paths from small range reduction
Joseph Myers
joseph@codesourcery.com
Thu Mar 22 22:28:00 GMT 2018
On Wed, 21 Mar 2018, Wilco Dijkstra wrote:
> This patch improves the accuracy of the range reduction. When the input is
> large (2^27) and very close to a multiple of PI/2, using 110 bits of PI is not
> enough. Improve range reduction accuracy to 136 bits. As a result the special
> checks for results close to zero can be removed. The ULP of the polynomials is
> at worst 0.55ULP, so there is no reason for the slow functions, and they can be
> removed.
OK.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list