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!atl-c08.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail 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> From: Stephen Leake Date: Thu, 20 Jul 2006 05:03:23 -0400 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:SDRTV3h6OhCsoZzncWLufRwsvWk= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: dc45f44bf46e2e73ae4a429583 Xref: g2news2.google.com comp.lang.ada:5829 Date: 2006-07-20T05:03:23-04:00 List-Id: Marius Amado-Alves writes: > Note that I don't do bit shifting. Instead I multiply or divide by a > magnitude. I don't think bit shifting is portable. See LRM B.2, Interfaces.Shift_Left, Shift_Right, Rotate_Left, Rotate_Right. -- -- Stephe