acos / asin accuracy

Carlos O'Donell carlos@systemhalted.org
Sun Sep 21 20:29:00 GMT 2008


On Sun, Sep 21, 2008 at 1:09 PM, Henri Verbeet <hverbeet@gmail.com> wrote:
>> Do you have a patch, with before and after results, including the
>> results of running the glibc math testsuite?
>>
> No, but I could write one if needed, just need to find the time. On
> the other hand, it's easy enough to see that for a value like
> 0x3feffffffff00000 x*x gets rounded to 0x3fefffffffe00000, which after
> subtracting from 1 becomes 0x3df0000000000000, while (1-x)(1+x)
> correctly gives 0x3deffffffff80000.

Please file an issue. Remember that we are all volunteers :-)

The more you make everyone care about your issue the more likely it is
for someone to fix.

Cheers,
Carlos.



More information about the Libc-help mailing list