[log in to unmask] wrote:
> However, why cannot the compiler be permitted to understand the
> commutative/associative/distributive laws of arithmetic?
Floating point arithmetic is not associative or distributive. I wouldn't want
a compiler that thinks it is.
Bill
--
William F. Mitchell
Mathematical and Computational Sciences Division
National Institute of Standards and Technology
[log in to unmask] http://math.nist.gov/~mitchell
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|