() ignored in some expressions

Geoffrey Rogers grogers at convex.com
Tue Apr 10 03:17:44 AEST 1990


In article <48079 at lanl.gov> u096000 at lanl.gov (Roger A. Cole) writes:
>In K&R1, expressions involving one of the associative and commutative
>operators can be arranged even when parenthesized.
>
>From the first time I read this, I've had difficulty not throwing up in
>instances where this applies.  I might be able to accept this *feature*
>a little more peacefully if someone could explain the basis for it.
>
>Is this feature also present in ANSI standard C?
>

NO. They fixed this part of the language in the standard. In MOST cases
this is not a problem with INTEGER math, but it is a BIG problem with
floating point numbers.

cheers

+------------------------------------+---------------------------------+
| Geoffrey C. Rogers   		     | "Whose brain did you get?"      |
| grogers at convex.com                 | "Abbie Normal!"                 |
| {sun,uunet,uiucdcs}!convex!grogers |                                 |
+------------------------------------+---------------------------------+



More information about the Comp.lang.c mailing list