Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site x.UUCP Path: utzoo!linus!decvax!genrad!mit-eddie!cybvax0!frog!x!john From: john@x.UUCP (John Woods) Newsgroups: net.lang.c Subject: Re: Standard extensions (logical exclusive or) Message-ID: <376@x.UUCP> Date: Thu, 8-Nov-84 17:14:00 EST Article-I.D.: x.376 Posted: Thu Nov 8 17:14:00 1984 Date-Received: Tue, 13-Nov-84 07:25:04 EST References: <> <352@digi-g.UUCP>, <1442@pucc-h> <374@petsd.UUCP> Organization: Charles River Data Systems, Framingham MA Lines: 10 > I disagree. The bitwise operators operate on every bit of their arguments, > whereas the logical operators operate on zero -vs- non-zero. Therefore, i^j Quite correct. However, you can get the effect of i ^^ j by typing !!i ^ !!j. ^^ would be nice, but it isn't strictly necessary (and the code sequence I gave might not be too poor on a decent compiler). -- John Woods, Charles River Data Systems, Framingham MA, (617) 626-1114 ...!decvax!frog!john, ...!mit-eddie!jfw, jfw%mit-ccc@MIT-XX.ARPA