comp.lang.ada
 help / color / mirror / Atom feed
* Bit Manipulation Functions
@ 1996-09-04  0:00 David Mulcihy
  1996-09-05  0:00 ` Robert A Duff
  0 siblings, 1 reply; 2+ messages in thread
From: David Mulcihy @ 1996-09-04  0:00 UTC (permalink / raw)



Is there a library of Ada bit manipulation functions somewhere?

Thanks.
David Mulcihy
mulcihy@pat.mdc.com




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bit Manipulation Functions
  1996-09-04  0:00 Bit Manipulation Functions David Mulcihy
@ 1996-09-05  0:00 ` Robert A Duff
  0 siblings, 0 replies; 2+ messages in thread
From: Robert A Duff @ 1996-09-05  0:00 UTC (permalink / raw)



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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-09-05  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-09-04  0:00 Bit Manipulation Functions David Mulcihy
1996-09-05  0:00 ` Robert A Duff

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