[Bug c++/40186] floating point comparison is wrong ( !(a < b) && (b > a) is true )
vincent at vinc17 dot org
gcc-bugzilla@gcc.gnu.org
Mon May 18 14:56:00 GMT 2009
------- Comment #8 from vincent at vinc17 dot org 2009-05-18 14:56 -------
Are you sure that this comes from the extended precision? This would mean that
GCC does implicit extended -> double conversions in an asymmetric way, and
IIRC, I've never seen that.
I can't reproduce the problem with g++-4.4 -mfpmath=387 -Os on an x86_64
machine.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40186
More information about the Gcc-bugs
mailing list