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,6c373417187a0709 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-25 13:48:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn4feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Message-ID: <3C7AB10F.2050400@worldnet.att.net> From: Jim Rogers User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: bit shift References: <3c7a442c$1@pull.gecm.com> <3C7A5391.60206@worldnet.att.net> <4519e058.0202251227.692324f@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 25 Feb 2002 21:47:59 GMT NNTP-Posting-Host: 12.86.32.208 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1014673679 12.86.32.208 (Mon, 25 Feb 2002 21:47:59 GMT) NNTP-Posting-Date: Mon, 25 Feb 2002 21:47:59 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:20398 Date: 2002-02-25T21:47:59+00:00 List-Id: Right. I did overlook the Ada83 bit. I must get my new prescription filled for my glasses. You can implement a Right_Shift by dividing by multiples of 2. This does, however, require that the value being shifted is an integer type. That is the most common situation for bit shifting. Left shifting becomes a significant problem using a signed integer. Jim Rogers Ted Dennison wrote: > Jim Rogers wrote in message news:<3C7A5391.60206@worldnet.att.net>... > >>Look in the package Interfaces. >> > > ...which doesn't exist for Ada83, I'm afraid. > > >>Stephen Frackelton wrote: >> >> >>>does a bit shift operation / mechanism exist in ada83 ? >>> > > --- > T.E.D. >