comp.lang.ada
 help / color / mirror / Atom feed
From: robert_dewar@my-dejanews.com
Subject: Re: how to do bit-wise operation on none modular types?
Date: 1999/03/05
Date: 1999-03-05T00:00:00+00:00	[thread overview]
Message-ID: <7bos99$osc$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 7boadc$9sm$1@nnrp1.dejanews.com

In article <7boadc$9sm$1@nnrp1.dejanews.com>,
  bourguet@my-dejanews.com wrote:

> And, obviously for you but perhaps not for the one who
> started the thread, there are places where the "correct"
> solution is simply a record type with the adequate
> representation clause.

Yes, true, in some cases, but this approach is fraught
with problems:

  1. assumptions about endianness
  2. assumptions about layout of records and bit orders
  3. assumptions about alignment etc

So you need to know what you are doing!

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  reply	other threads:[~1999-03-05  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-03  0:00 how to do bit-wise operation on none modular types? bill
1999-03-03  0:00 ` Tucker Taft
1999-03-03  0:00   ` Samuel Mize
1999-03-03  0:00     ` Tucker Taft
1999-03-04  0:00       ` robert_dewar
1999-03-05  0:00         ` bourguet
1999-03-05  0:00           ` robert_dewar [this message]
1999-03-04  0:00       ` Tom Moran
1999-03-04  0:00         ` fraser
1999-03-03  0:00     ` fraser
1999-03-04  0:00       ` dennison
1999-03-04  0:00       ` Samuel Mize
1999-03-05  0:00         ` fraser
1999-03-03  0:00     ` dennison
1999-03-03  0:00 ` Tarjei Tj�stheim Jensen
replies disabled

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