Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!bellcore!faline!thumper!ulysses!andante!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: comp.unix.wizards Subject: Re: Old-fashioned assignment operators (was Re: braces Message-ID: <8556@alice.UUCP> Date: 17 Dec 88 15:37:47 GMT References: <9076@smoke.BRL.MIL> <14020049@hpisod2.HP.COM> <2155@uokmax.UUCP> Organization: AT&T Bell Laboratories, Liberty Corner NJ Lines: 11 In article <2155@uokmax.UUCP>, rmtodd@uokmax.UUCP (Richard Michael Todd) writes: > The question I have is, what exactly *is* the correct interpretation of > x=-y in modern C? As mentioned before, the Encore cc interprets it as The correct modern interpretation is x=(-y). See ``C Traps and Pitfalls,'' page 8. -- --Andrew Koenig ark@europa.att.com