Using distributive property to optimize.

Bjorn Engsig bengsig at oracle.nl
Wed Feb 7 01:08:54 AEST 1990


Article <229 at altos86.Altos.COM> by clp at altos86.Altos.COM (Chuck L. Peterson) says:
[is it valid to change]
|	n = a - (b + c);
|To this:
|	n = a - b - c;
It was valid according to K&R 1.  It's not in ANSI.
-- 
Bjorn Engsig,	Domain:		bengsig at oracle.nl, bengsig at oracle.com
		Path:		uunet!{mcsun!orcenl,oracle}!bengsig



More information about the Comp.lang.c mailing list