Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!convex!grogers From: grogers@convex.com (Geoffrey Rogers) Newsgroups: comp.lang.c Subject: Re: () ignored in some expressions Message-ID: <101287@convex.convex.com> Date: 9 Apr 90 17:17:44 GMT References: <48079@lanl.gov> Sender: news@convex.com Organization: Convex Computer Corporation; Richardson, TX Lines: 22 In article <48079@lanl.gov> u096000@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@convex.com | "Abbie Normal!" | | {sun,uunet,uiucdcs}!convex!grogers | | +------------------------------------+---------------------------------+