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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,29c77a00ffffe436 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1993-04-02 16:42:19 PST Path: gmd.de!newsserver.jvnc.net!yale.edu!spool.mu.edu!olivea!pagesat!ukma!news1.gsfc.nasa.gov!bambam!nbssal From: nbssal@bambam (Stephe Leake) Newsgroups: comp.lang.ada Subject: Re: Unsigned Logical Operations Message-ID: <2APR199313514341@bambam> Date: 2 Apr 93 18:51:00 GMT References: <9303310043.AA08374@Trantor.DSO.gov.SG> Sender: usenet@skates.gsfc.nasa.gov Organization: NASA Goddard Robotics Lab News-Software: VAX/VMS VNEWS 1.4-b1 Date: 1993-04-02T18:51:00+00:00 List-Id: In article <9303310043.AA08374@Trantor.DSO.gov.SG>, syewnam@TRANTOR.DSO.GOV.SG (Jerry Seah Yew Nam) writes... >I am looking for an Ada implementation of Logical Operations such as "not", >"and", "or", "xor", "asl" and "asr" on unsigned types such as byte, >word, and long word. Can anyone help? Thanks. I hope no one has such a package! Logical operators should operate on BOOLEAN objects, not INTEGERS! If what you are looking for is operations on arrays of BOOLEAN, then Ada already has them; see LRM 4.5.1, for example. Stephen Leake NASA Goddard Robotics Lab internet : nbssal@robots.gsfc.nasa.gov