[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 64 bit math on ia32
From: |
Dennis Cartier |
Subject: |
Re: 64 bit math on ia32 |
Date: |
28 Jan 2002 19:42:38 -0500 |
Thanks guys. I explicitly cast each operand and it works fine now.
Dennis
On Mon, 2002-01-28 at 07:42, Andreas Schwab wrote:
> Dennis Cartier <address@hidden> writes:
>
> |> On Mon, 2002-01-28 at 05:37, Andreas Jaeger wrote:
> |> > Dennis Cartier <address@hidden> writes:
> |> >
> |> > > I would have thought that Gcc would see that I am placing the final
> |> > > result into a 64 bit type and would substitute in 64bit compatible
> math.
> |> > > Is this not the case?
>
> No, the type of an expression is _only_ determined by its operands, not
> by the context.
>
> Andreas.
>
> --
> Andreas Schwab, SuSE Labs, address@hidden
> SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
> Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
>