Article View: comp.lang.modula2
Article #1194Re: Bitwise EXOR
From: John Matthews
Date: Mon, 01 Oct 1990 01:26
Date: Mon, 01 Oct 1990 01:26
12 lines
791 bytes
791 bytes
I have an idea that in Modula-2 speak, XOR is represented as Symmetrical Difference (of set types). Convert whatever to a set type, eg BitSet, then a = b XOR c is equal to a = b / c; Try It.
Technical Details
Message-ID:
<1990Oct01.012654.7215@comp.vuw.ac.nz>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!comp.vuw.ac.nz!tribbleReferences:
<3356@mindlink.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!comp.vuw.ac.nz!tribble From: John.Matthews@comp.vuw.ac.nz (John Matthews) Newsgroups: comp.lang.modula2 Subject: Re: Bitwise EXOR Message-ID: <1990Oct01.012654.7215@comp.vuw.ac.nz> Date: 1 Oct 90 01:26:54 GMT References: <3356@mindlink.UUCP> Sender: news@comp.vuw.ac.nz (News Admin) Reply-To: tribble@comp.vuw.ac.nz (John Matthews) Organization: Computer Science Dept, Victoria Univ, Wellington, NEW ZEALAND Lines: 12 Nntp-Posting-Host: barretts.comp.vuw.ac.nz Originator: tribble@barretts.comp.vuw.ac.nz