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,1eda8da8a6221ea7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-19 02:03:14 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!195.158.233.21!news1.ebone.net!news.ebone.net!news.net.uni-c.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: bitwise operations in Ada95 Date: Thu, 19 Jul 2001 11:03:12 +0200 Organization: Centre for Chaos and Turbulence Studies, Niels Bohr Institute Message-ID: <3B56A250.95C8C588@nbi.dk> References: <9j2p76$6is$1@fang.dsto.defence.gov.au> <192e1f87.0107180742.4e2e83df@posting.google.com> <3B55B4A1.56150A4B@nbi.dk> NNTP-Posting-Host: alf.nbi.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.net.uni-c.dk 995533393 40246 130.225.212.55 (19 Jul 2001 09:03:13 GMT) X-Complaints-To: usenet@news.net.uni-c.dk NNTP-Posting-Date: Thu, 19 Jul 2001 09:03:13 +0000 (UTC) X-Mailer: Mozilla 4.77 [en] (X11; U; OSF1 V4.0 alpha) X-Accept-Language: fo,da,no,sv,is,de,fr,en Xref: archiver1.google.com comp.lang.ada:10235 Date: 2001-07-19T11:03:12+02:00 List-Id: I wrote: > Aquaman: > > > My question would be for a way to do bit shifting operations (vs. & |) > > so for example shift left and shift right for use in mathmatical mult and div > > opperations > > "*2" and "/2" works fine for me for that purpose (on modular > types). [...] But, as Sune wrote, package Interfaces contains functions that do the same job. Jacob (slightly embarrassed) -- "Nobody writes jokes in base 13." Douglas Adams