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

[Bug target/35488] A incorrect result in a simple division, only in 32-bit gcc.




------- Comment #2 from purnnam1 at naver dot com  2008-03-06 23:07 -------
It's not simple floating point related error!

I fully understand that the decimal number can't be converted to the exact
floating point number. so, the result may be different from our expectation.

This problem has no relation to a foolish mistake, (0.3+0.6)!=0.9.

In only ONE BASIC arithmetic operation, the output should be same between
compilers if the compilers are compliant to IEEE-754 standard and the inputs
are exactly same. If this bug is not corrected, the GCC 32-bit is NOT compliant
to IEEE-754 standard.


-- 

purnnam1 at naver dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major


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

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


Reply to: