This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: question on double to int conversion
- From: Richard Henderson <rth at redhat dot com>
- To: Jaeyoun Chung <jay at kldp dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 21 May 2004 13:43:32 -0700
- Subject: Re: question on double to int conversion
- References: <871xletug0.fsf@jaylin.tmax.co.kr>
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~