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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fb4f2a91d58d3a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-09-08 22:25:31 PST Path: supernews.google.com!sn-xit-02!sn-east!supernews.com!news-feed.riddles.org.uk!freenix!fr.usenet-edu.net!usenet-edu.net!fu-berlin.de!uni-berlin.de!da132d230.dialup.callnetuk.COM!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Epistemology [was: Bit operations in Ada (one's complements and sum)] Date: Sat, 9 Sep 2000 06:22:57 +0100 Message-ID: <8pchk8$co01k$1@ID-25716.news.cis.dfn.de> References: <8pbt1a$vo8$1@nnrp1.deja.com> <39B97FE3.3A0129B5@telepath.com> NNTP-Posting-Host: da132d230.dialup.callnetuk.com (212.67.132.230) X-Trace: fu-berlin.de 968477128 13369396 212.67.132.230 (16 [25716]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: supernews.google.com comp.lang.ada:557 Date: 2000-09-09T06:22:57+01:00 List-Id: First, I wonder if Eric was talking about ones-complement arithmetic with carry? If so, then (I think!) standard Ada doesn't have such an operation explicitly built-in. Second, forgive my musing on this subject, but it did just flicker across my mind, that a 'bit string' is indeed a kind of string, but ... it's also a set, but ... it's also an integer, but ... it's also a JPEG picture, but ... well, you get the idea. Things are not what they are, are they? Just a thought. BTW probably "type Bit_String is private;" in the package spec. -- Nick Roberts http://www.AdaOS.org