Article View: comp.std.c
Article #1725Re: Why no logical XOR operator
From: stt
Date: Fri, 14 Sep 1990 10:57
Date: Fri, 14 Sep 1990 10:57
11 lines
703 bytes
703 bytes
Re: "logical" XOR As has been pointed out, == and != are essentially "logical" EQV and XOR, and hence logical XOR is redundant. The use of unary "!" is necessary if either operand is not guaranteed to be in the range 0..1. S. Tucker Taft Intermetrics, Inc. Cambridge, MA 02138
Technical Details
Message-ID:
<29200002@inmet>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!rpi!bu.edu!inmet!sttReferences:
<154515@<1990Sep12>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!rpi!bu.edu!inmet!stt From: stt@inmet.inmet.com Newsgroups: comp.std.c Subject: Re: Why no logical XOR operator Message-ID: <29200002@inmet> Date: 14 Sep 90 10:57:00 GMT References: <154515@<1990Sep12> Lines: 11 Nf-ID: #R:<1990Sep12:154515:inmet:29200002:000:280 Nf-From: inmet.inmet.com!stt Sep 14 06:57:00 1990