[Bug c++/40186] floating point comparison is wrong ( !(a < b) && (b > a) is true )

sliwa at cft dot edu dot pl gcc-bugzilla@gcc.gnu.org
Mon May 18 14:53:00 GMT 2009



------- Comment #7 from sliwa at cft dot edu dot pl  2009-05-18 14:52 -------
The case (a < b) && (b < a) shows that not discarding the extra precision
before performing a comparison leads to serious problems.


-- 


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



More information about the Gcc-bugs mailing list