question on double to int conversion

Richard Henderson rth@redhat.com
Fri May 21 20:43:00 GMT 2004


On Fri, May 21, 2004 at 10:55:43AM +0900, Jaeyoun Chung wrote:
> To be ieee 754 compliant, '%x' output should be 7fffffff and 80000000,

Who says?  ISO C says float->int conversion overflow is undefined.


r~



More information about the Gcc mailing list