This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: question on double to int conversion


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]