This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 3/7] sin/cos slow paths: remove slow paths from small range reduction


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]