Re: Fw: Error in documentation for tan(), and poor implementation of sin() and cos()

Adhemerval Zanella Netto <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Organization Linaro
Message-ID <[email protected]>

On 08/07/26 07:54, Paul Zimmermann wrote:
>        Hi Wilco,
> 
>> In all cases that is the shared range reducer which has bugs for huge inputs,
>> so you could just directly check the range reducer. Using integer arithmetic
>> like I did for float sin/cos results in a much simpler and faster range reducer.
> 
> instead of patching the range reducer, the ultimate solution is probably to
> use some correctly-rounded implementation like the one from CORE-MATH.
> Adhemerval, do you have performance figures for say sin?

Not yet, it is on my backlog to work on sin/cos/tan.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.