From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3b9cb18e1220c16c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-07 15:00:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.stealth.net!news.stealth.net!news-out.visi.com!hermes.visi.com!news From: cjsonnack@mmm.com (Programmer Dude) Newsgroups: comp.lang.ada Subject: Re: Where did /= come from? Date: Thu, 07 Nov 2002 16:57:54 -0600 Organization: 3M Company Message-ID: <3DCAEFF2.3340992@mmm.com> References: <3DC93F8B.9E28FD15@mmm.com> <4519e058.0211070658.20c730a4@posting.google.com> <6Fvy9.9944$su6.7542@nwrddc03.gnilink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5 [en]C-CCK-MCD 3M/NCP 4.5 (WinNT; I) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:30560 Date: 2002-11-07T16:57:54-06:00 List-Id: "Frank J. Lhota" wrote: > For C to be consistent, > > a == b > and > a != b > > should be equivalent to > > a = ( (a) = (b) ) > and > a = ( (a) ! (b) ) That's funny! ;-) > Of course, C has not defined a binary "!" operator yet... What about the compliment operator: ~ -- |_ CJSonnack _____________| How's my programming? | |_ http://www.Sonnack.com/ ___________________| Call: 1-800-DEV-NULL | |_____________________________________________|_______________________| Opinions expressed herein are my own and may not represent those of my employer.