From: lutz@iks-jena.de (Lutz Donnerhacke)
Subject: Re: Decoding an octet stream
Date: 1999/12/02
Date: 1999-12-02T00:00:00+00:00 [thread overview]
Message-ID: <slrn84ce37.kf.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: 38460ECE.27216603@research.canon.com.au
* Geoff Bull wrote:
>Florian Weimer wrote:
>> Perhaps I may ask again: Is it reasonable to assume that
>> Storage_Element'Size equals 8 (although the standard doesn't
>> require this, of course)?
>
>I would think this is the equivalent of assuming that a
>C char is 8 bits. Not strictly true, but a perfectly
>reasonable thing to do, so long as you are aware of the
>consequences.
A DSP in the next labor has Storage_Element'Size = 32.
sizeof(char) is required by the C standard to be equal to one every time.
So we have (for this compiler) sizeof(char) == sizeof(short) == sizeof(int)
== sizeof(long) == 1.
next prev parent reply other threads:[~1999-12-02 0:00 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-28 0:00 Decoding an octet stream Florian Weimer
1999-11-29 0:00 ` David C. Hoos, Sr.
1999-11-30 0:00 ` Florian Weimer
1999-12-03 0:00 ` Robert Dewar
1999-12-01 0:00 ` Robert Dewar
1999-12-01 0:00 ` David C. Hoos, Sr.
1999-12-01 0:00 ` Robert Dewar
1999-12-07 0:00 ` Stefan Skoglund
1999-12-01 0:00 ` Robert Dewar
1999-12-01 0:00 ` swhalen
1999-12-01 0:00 ` Florian Weimer
1999-12-02 0:00 ` Geoff Bull
1999-12-02 0:00 ` Lutz Donnerhacke [this message]
1999-12-02 0:00 ` Robert Dewar
1999-12-02 0:00 ` Ted Dennison
1999-12-02 0:00 ` tmoran
1999-12-01 0:00 ` Larry Kilgallen
1999-12-01 0:00 ` Kenneth Almquist
1999-12-02 0:00 ` Geoff Bull
1999-12-02 0:00 ` Stupid patent tricks (was: Decoding an octet stream) Ted Dennison
1999-12-06 0:00 ` Decoding an octet stream Kenneth Almquist
1999-12-02 0:00 ` Geoff Bull
1999-12-02 0:00 ` Robert Dewar
1999-12-02 0:00 ` swhalen
1999-12-02 0:00 ` Larry Kilgallen
1999-12-03 0:00 ` swhalen
1999-12-04 0:00 ` Geoff Bull
1999-12-06 0:00 ` Robert Dewar
1999-12-04 0:00 ` Robert Dewar
1999-12-03 0:00 ` Geoff Bull
1999-12-06 0:00 ` Richard D Riehle
1999-12-06 0:00 ` Ed Falis
1999-12-07 0:00 ` Ted Dennison
1999-12-08 0:00 ` Robert Dewar
1999-12-08 0:00 ` Brian Rogoff
1999-12-08 0:00 ` Numeric types Mario Amado Alves
1999-12-08 0:00 ` Tucker Taft
1999-12-01 0:00 ` Decoding an octet stream Geoff Bull
1999-12-01 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox