http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48236
--- Comment #5 from Jon Valdes 2011-03-22 14:56:25
UTC ---
(In reply to comment #4)
> Above 2^24 and below 2^25, only even integers are not rounded when converted
> to
> float and odd integers are rounded. I think it is what you report in commen
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48236
--- Comment #3 from Jon Valdes 2011-03-22 14:35:10
UTC ---
>From my understanding, a positive number should be casted to exactly the same
floating value representation regardless if the variable is signed or unsigned.
In fact, checking the failin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48236
Jon Valdes changed:
What|Removed |Added
CC||juanval at gmail dot com
--- Comment #1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48236
Summary: uint64_t and int64_t behave differently when
converting to float
Product: gcc
Version: 4.4.5
Status: UNCONFIRMED
Severity: normal
Priority: P3
Co