[Bug c/47742] Large Values Increment By 1 When Casting Long to Double
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 15 00:20:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47742
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-02-15 00:14:37 UTC ---
This is correct as long is 64bits and the precision of a double is less than
64bits.
More information about the Gcc-bugs
mailing list