comp.lang.ada
 help / color / mirror / Atom feed
From: nbssal@bambam (Stephe Leake)
Subject: Re: Unsigned Logical Operations
Date: 2 Apr 93 18:51:00 GMT
Date: 1993-04-02T18:51:00+00:00	[thread overview]
Message-ID: <2APR199313514341@bambam> (raw)
In-Reply-To: 9303310043.AA08374@Trantor.DSO.gov.SG

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



      reply	other threads:[~1993-04-02 18:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-03-31  8:33 Unsigned Logical Operations Jerry Seah Yew Nam
1993-04-02 18:51 ` Stephe Leake [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox