[Bug c++/40407] Value increment problems
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jun 13 19:29:00 GMT 2009
------- Comment #3 from pinskia at gcc dot gnu dot org 2009-06-13 19:29 -------
This is expected because long double is only 80bits (only 64bits for
significand), so adding one to unsigned long's max (64bit) will cause a
rounding to happen.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40407
More information about the Gcc-bugs
mailing list