Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 (Tek) 9/26/83; site orca.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!ihnp4!zehntel!tektronix!orca!andrew From: andrew@orca.UUCP (Andrew Klossner) Newsgroups: net.lang.c Subject: Logical vs bitwise operators Message-ID: <1181@orca.UUCP> Date: Sun, 25-Nov-84 17:23:55 EST Article-I.D.: orca.1181 Posted: Sun Nov 25 17:23:55 1984 Date-Received: Tue, 27-Nov-84 04:03:33 EST Organization: Tektronix, Wilsonville OR Lines: 12 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 !=!= :-) -- Andrew Klossner (decvax!tektronix!orca!andrew) [UUCP] (orca!andrew.tektronix@csnet-relay) [ARPA]