comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Bit Manipulation Functions
Date: 1996/09/05
Date: 1996-09-05T00:00:00+00:00	[thread overview]
Message-ID: <Dx8HHy.7Dw@world.std.com> (raw)
In-Reply-To: mulcihy-0409961432530001@139.169.215.63


In article <mulcihy-0409961432530001@139.169.215.63>,
David Mulcihy <mulcihy@pat.mdc.com> wrote:
>Is there a library of Ada bit manipulation functions somewhere?

Can you be more specific about what sort of bit manipulation you want to
do?  Some bit manipulation is built into the language.  For example, a
packed array of Booleans has "and", "or", "xor", and "not" built in.
Also, modular types have these operations.

Extracting bit fields from words can be done by declaring a one-word
record with a pragma Pack, or a record_rep_clause.

I assume you want something else...

- Bob




      reply	other threads:[~1996-09-05  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-04  0:00 Bit Manipulation Functions David Mulcihy
1996-09-05  0:00 ` Robert A Duff [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