At 5:17 pm -0700 2011/10/20, Chuck Guzis wrote:
My beef with some compiler writers is that they'll
often do you a
favor by silently rearranging expressions to make use of distributive
or associative properties and that series that *used* converge neatly
now no longer does.
K&R C (vaguely on subject here) permitted a compiler to rearrange
expressions at will, but ANSI C forbids any optimization that could change
the results of a calculation.
FORTRAN from the very beginning has had the rule that parentheses must be
respected, but all else is fair game.
--
Kevin Schoedel <schoedel at kw.igs.net> VA3TCS