GCC beaten by ICC in stupid trig test!
Joseph S. Myers
jsm@polyomino.org.uk
Wed Mar 24 21:07:00 GMT 2004
On Wed, 24 Mar 2004, Paul Koning wrote:
> I don't have a C standard, but my copy of Harbison & Steele says what
> I expected about parentheses: "Parentheses do not necessarily force a
> particular evaluation order".
Evaluation order (sequence points) has nothing to do with associativity.
The C syntax specifies that a+b+c means exactly (a+b)+c - but in both
cases, a, b and c can be evaluated in any order.
--
Joseph S. Myers
jsm@polyomino.org.uk
More information about the Gcc
mailing list