weird optimization in sin+cos, x86 backend

Michael Matz matz@suse.de
Fri Feb 3 16:47:00 GMT 2012


On Fri, 3 Feb 2012, Dominique Dhumieres wrote:

> Note that sqrt(2.0)*sin(4.47460300787e+182+pi/4) gives a diffeent value 
> for the sum.

In double: 4.47460300787e+182 + pi/4 == 4.47460300787e+182


Ciao,
Michael.



More information about the Gcc mailing list