This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use -frounding-math for math testsuite


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]