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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,553a6b79b2471571 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news.glorb.com!proxad.net!cleanfeed1-a.proxad.net!nnrp12-2.free.fr!not-for-mail Return-Path: In-Reply-To: <20060720145730.F9651@docenti.ing.unipi.it> References: <9315684D-C216-4EDA-8852-0A6BD4C275B0@amado-alves.info> <44bf3301$0$10529$9b4e6d93@newsread4.arcor-online.net> <20060720112346.C65387@docenti.ing.unipi.it> <1153398718.9119.12.camel@localhost.localdomain> <20060720145730.F9651@docenti.ing.unipi.it> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit From: Marius Amado-Alves Subject: Re: How do you bitwise operations in Ada '83 and '95 Date: Thu, 20 Jul 2006 14:29:40 +0100 To: Colin Paul Gloster X-Mailer: Apple Mail (2.752.2) X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - zaphen.serversonline.net X-AntiAbuse: Original Domain - ada-france.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - amado-alves.info X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: amavisd-new at ada-france.org Cc: comp.lang.ada@ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.8rc1 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.ada Message-ID: X-Leafnode-NNTP-Posting-Host: 88.191.17.134 Organization: Guest of ProXad - France NNTP-Posting-Date: 20 Jul 2006 15:30:10 MEST NNTP-Posting-Host: 88.191.14.223 X-Trace: 1153402210 nnrp12-2.free.fr 31784 88.191.14.223:37678 X-Complaints-To: abuse@proxad.net Xref: g2news2.google.com comp.lang.ada:5837 Date: 2006-07-20T15:30:10+02:00 > Realistically, how is > > type Time is mod 2 ** 96; > > any more portable than Unsigned_96?... You have a point there and you (both) have answered it. In sum, mod 2 ** 96 is slightly less dependent than Unsigned_96. In an ideal world compilers would translate mod 2 * 1_000_000 to the corresponding packed array of bits and save us the trouble :-)