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