Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/3/84; site garfield.UUCP Path: utzoo!utcsrgv!garfield!pdf From: pdf@garfield.UUCP (Paul D Fardy) Newsgroups: net.lang.c Subject: Re: Standard extensions (logical exclusive or) Message-ID: <1905@garfield.UUCP> Date: Fri, 9-Nov-84 13:18:57 EST Article-I.D.: garfield.1905 Posted: Fri Nov 9 13:18:57 1984 Date-Received: Fri, 9-Nov-84 16:23:50 EST References: <374@petsd.UUCP> <3081@alice.UUCP> Reply-To: pdf@garfield.UUCP (Paul D Fardy) Organization: Memorial U. of Nfld. C.S. Dept., St. John's Lines: 5 Summary: The expression a ^^ b is not logically equivalent to a != b. if a = 2 and b = 3, then a ^^ b is false, but a != b is true. 1 is not true in C. 0 is false and !0 is true.