GCC viciously beaten by ICC in trig test!

Geert Bosch bosch@gnat.com
Mon Mar 15 17:44:00 GMT 2004


On Mar 15, 2004, at 09:34, Segher Boessenkool wrote:
> +/- 2**63, on i387.  Original pentium is supposed to be 1 ulp
> accurate for all valid inputs (no idea if it actually is).
>
> Don't know for other chips.

It's not. The argument reduction uses a 68-bit approximation
of pi, which means that for sin (pi) the argument retains
only about 4 significant bits and in this case results in
about 4 bits of precision in the output. We recently became
aware of this issue for Ada and are working on fixing this.

   -Geert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 532 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20040315/7af2d460/attachment.p7s>


More information about the Gcc mailing list