On Sat, Apr 30, 2016 at 02:23:31AM +0800, C Bergström wrote:

> Surprisingly, glibc does a pretty respectable job in terms of
> accuracy, but alas it's certainly not the fastest.

If you go look in the source comments I believe it says which paper's
algorithm it is using... doing range reduction for sin(6e5) is
expensive to do accurately. Which is why the x86 sin() hardware
instruction does it inaccurately but quickly, and most people/codes
don't care.

-- greg



_______________________________________________
Beowulf mailing list, [email protected] sponsored by Penguin Computing
To change your subscription (digest mode or unsubscribe) visit 
http://www.beowulf.org/mailman/listinfo/beowulf

Reply via email to