[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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




------- Comment #6 from pinskia at gcc dot gnu dot org  2009-05-18 14:49 -------
Either use -ffloat-store or -mfpmath=sse .  The issue comes from excessive
precision.  It is not < or > which is causing the problem but keeping one of a
or b in the fp stack register but putting the other one on the normal memory.


-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Reply to: