Re: [Linux-ia64] gcc type promotion bug?

From: Richard Hirst <>
Date: 2002-04-17 06:36:14
On Tue, Apr 16, 2002 at 10:31:02PM +0200, Andreas Schwab wrote:
> No.  There are no operands of type double or long double involved, so the
> ususal arithmetic conversions ( choose float as the common type:
>     Otherwise, if the corresponding real type of either operand is float,
>     the other operand is converted, without change of type domain, to a
>     type whose corresponding real type is float.

OK, thanks.  I looked at (out of date) K&R, which told me all floating
point arithmetic in C was done in double precision, and I tried my
program on i386, where it appeared to worked fine.

Received on Tue Apr 16 13:54:38 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:08 EST