[PATCH] Use -frounding-math for math testsuite

Joseph S. Myers joseph@codesourcery.com
Sat May 5 17:33:00 GMT 2012


On Wed, 2 May 2012, Richard Guenther wrote:

> There is also -fsignalling-nans which is off by default, too.  Not sure
> if that makes a difference though, but GCC for example folds x + 0.0 to
> x with the default setting.

I don't see it doing that folding, but if it did it would be a bug, since 
-fsigned-zeros is the default and -0.0 + 0.0 is +0.0 except in 
round-downwards mode.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list