comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Dowie" <martin.dowie@nospam.baesystems.com>
Subject: Re: Bitwise operators
Date: Fri, 30 Mar 2001 07:54:48 +0100
Date: 2001-03-30T07:54:48+01:00	[thread overview]
Message-ID: <3ac42be6$1@pull.gecm.com> (raw)
In-Reply-To: qxLw6.488391$Pm2.7613079@news20.bellglobal.com

Check out the spec of package Interfaces (section B.2 of the RM). In there
are
all sort of mod (modular) numbers (i.e. unsigned numbers that wrap rather
than
raise exceptions). You'll find shift subprograms there too - the
"and"/"or"/etc
operators are implicit for modular types.


Bob Gratton <bobby@sympatico.ca> wrote in message
news:qxLw6.488391$Pm2.7613079@news20.bellglobal.com...
> Are there any bitwise operators in ADA? I'd like to compare two binary
> numbers with AND and OR... Is it possible?
>
> Thanx!
>
>
>





  parent reply	other threads:[~2001-03-30  6:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-29 18:54 Bitwise operators Bob Gratton
2001-03-29 19:03 ` chris.danx
2001-03-30 14:50   ` Ted Dennison
2001-03-30 21:05     ` Robert A Duff
2001-04-02 13:27       ` Ted Dennison
2001-04-02 14:44         ` Robert A Duff
2001-04-02 16:05           ` Ted Dennison
2001-03-30  6:54 ` Martin Dowie [this message]
2001-03-30 12:56 ` Marc A. Criley
2001-03-30 14:39   ` Marin David Condic
replies disabled

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