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-Thread: 103376,553a6b79b2471571 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news.glorb.com!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Thu, 20 Jul 2006 09:40:16 +0200 From: Georg Bauhaus Organization: elsewhere User-Agent: Thunderbird 1.5.0.4 (Macintosh/20060530) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: How do you bitwise operations in Ada '83 and '95 References: <9315684D-C216-4EDA-8852-0A6BD4C275B0@amado-alves.info> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <44bf3301$0$10529$9b4e6d93@newsread4.arcor-online.net> NNTP-Posting-Date: 20 Jul 2006 09:38:41 MEST NNTP-Posting-Host: b873c82f.newsread4.arcor-online.net X-Trace: DXC=5Xg0]V:nmM@Uo1RUcdhQmE:ejgIfPPldDjW\KbG]kaMHliQbn6H@_EI[n2f^B_5E[AhP3YJKgE\jLi^3YIPCKQDI`J7J Marius Amado-Alves wrote: > Note that I don't do bit shifting. Instead I multiply or divide by a > magnitude. I don't think bit shifting is portable. Why should language defined Interfaces.Shift_Right, Interfaces.Shift_Right_Arithmetic, Rotate etc. be any less portable than language defined arithmetic, as implemented by the same compiler? -- Georg