Lint question

Charles Hannum CMH117 at psuvm.psu.edu
Wed Mar 14 14:24:13 AEST 1990


In article <32699 at brunix.UUCP>, gvr at cs.brown.edu (George V. Reilly) says:
>
>      if (((dx = table[n].x - x), ((dx *= dx) < min))  &&
            ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
The C compiler could calculate these expressions in any way it damned well
feels like it.  This is not defined in the ANSI C standard, mainly because
it would screw up optimizing compilers to have limits on the order of
evaluation when not necessary.


Virtually,
- Charles Martin Hannum II       "Klein bottle for sale ... inquire within."
    (That's Charles to you!)     "To life immortal!"
  cmh117 at psuvm.{bitnet,psu.edu}  "No noozzzz izzz netzzzsnoozzzzz..."
  c9h at psuecl.{bitnet,psu.edu}    "Mem'ry, all alone in the moonlight ..."



More information about the Comp.lang.c mailing list