[Bug target/46080] [4.4/4.5/4.6 Regression] incorrect precision of sqrtf builtin for x87 arithmetic (-mfpmath=387)

zimmerma+gcc at loria dot fr gcc-bugzilla@gcc.gnu.org
Wed Oct 20 09:54:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46080

--- Comment #5 from Paul Zimmermann <zimmerma+gcc at loria dot fr> 2010-10-20 09:54:01 UTC ---
(In reply to comment #3)
> You should use -ffloat-store to remove excess precision.

the main issue is not the excess of precision, but the fact that identical
calls
to printf with identical arguments give different values in the same program!

The fact that different versions of GCC behave differently vs precision is a
different issue.

Paul



More information about the Gcc-bugs mailing list