GCC beaten by ICC in stupid trig test!
Robert Dewar
dewar@gnat.com
Thu Mar 25 08:46:00 GMT 2004
Gabriel Dos Reis wrote:
> The C++ standard clearly says that re-association is permitted only if
> the re-associated expression gives the same result as the original.
> So A+B+C really is (A+B)+C.
In Ada, the rule is a little more liberal, the reassociation is allowed
if the result is in the same model interval. In practice though, either
criterion forbids the reassocation.
More information about the Gcc
mailing list