🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5054

Re: Question about regrouping of operands

#5054
From: The Invisible Man
Date: Wed, 18 May 1988 18:39
20 lines
1201 bytes
In article <4049@haddock.ISC.COM> karl@haddock.ima.isc.com (Karl Heuer) writes:
)In article <881@actnyc.UUCP> jsb@actnyc.UUCP (The Invisible Man) writes:
)>In the absence of parens, X+Y+Z can be evaluated in any order, including
)>(Z+X)+Y.
)
)Where do you find this in the dpANS?  As I read it, X+Y+Z and (X+Y)+Z are
)treated identically, and the latter must be evaluated as written.  (Modulo the
)as-if rule.)
)
)Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint

As I re-read it, you seem to be correct.  With the discussion of this issue
often abreviated in the phrase "parentheses force grouping" I am surprised
at this and wonder if the current wording truly expresses the intent of the
committee.


-- 
		"Notitiae gratia notitiarum"
				jim (uunet!actnyc!jsb)
Technical Details
Message-ID: <891@actnyc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!actnyc!jsb
References: <16490001@hpcllz2.HP.COM> <881@actnyc.UUCP> <4049@haddock.ISC.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!actnyc!jsb
From: jsb@actnyc.UUCP (The Invisible Man)
Newsgroups: comp.std.c
Subject: Re: Question about regrouping of operands
Message-ID: <891@actnyc.UUCP>
Date: 18 May 88 18:39:03 GMT
References: <16490001@hpcllz2.HP.COM> <881@actnyc.UUCP> <4049@haddock.ISC.COM>
Reply-To: jsb@actnyc.UUCP (The Invisible Man)
Organization: Diet Software
Lines: 20