Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site digi-g.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!stolaf!umn-cs!digi-g!dan From: dan@digi-g.UUCP (Dan Messinger) Newsgroups: net.lang.c Subject: Re: Logical vs bitwise operators Message-ID: <410@digi-g.UUCP> Date: Tue, 27-Nov-84 09:36:04 EST Article-I.D.: digi-g.410 Posted: Tue Nov 27 09:36:04 1984 Date-Received: Fri, 30-Nov-84 08:07:14 EST References: <1181@orca.UUCP> Reply-To: dan@digi-g.UUCP (dan) Organization: Digigraphic Systems Corp., Mpls, MN Lines: 16 Summary: In article <1181@orca.UUCP> andrew@orca.UUCP (Andrew Klossner) writes: >If we're going to have the ^^ operator as a logical version of bitwise >^, then we simply must have a logical version of the equivalence (EQV) >operator, ==. > >Following the existing convention, it will be spelled ====. Thus: > > (a====b) is equivalent to ((a!=0) == (b!=0)) > >(-: or we could spell ^^ as !=!= :-) Ah, but a====b is easily expressed as !(a^^b). :-) (I can be as ridiculous as the next guy) Dan Messinger ihnp4!umn-cs!digi-g!dan