From: Ted Dennison <dennison@telepath.com>
Subject: Re: Representation clauses and streams
Date: 1999/12/29
Date: 1999-12-29T00:00:00+00:00 [thread overview]
Message-ID: <386A3C20.31A06016@telepath.com> (raw)
In-Reply-To: tgso0lg67p.fsf@mercury.rus.uni-stuttgart.de
Florian Weimer wrote:
> types as well (at least by GNAT 3.12p on x86). For example, the type
>
> Bits_Per_Octet : constant := 8;
>
> type One_Octet_Type is range 0 .. 2**(1*Bits_Per_Octet) - 1;
> for One_Octet_Type'Size use Bits_Per_Octet;
>
> is written as a two-octet value to a stream (Stream_Element'Size is,
Hmm. I'm curious what would happen if you changed that type to a modular
type of the same range.
--
T.E.D.
Home - mailto:dennison@telepath.com
WWW - http://www.telepath.com/dennison/Ted/TED.html
next prev parent reply other threads:[~1999-12-29 0:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-29 0:00 Representation clauses and streams Florian Weimer
1999-12-29 0:00 ` Ted Dennison [this message]
1999-12-29 0:00 ` Florian Weimer
1999-12-29 0:00 ` Robert Dewar
1999-12-30 0:00 ` Florian Weimer
2000-01-02 0:00 ` Tucker Taft
2000-01-03 0:00 ` Robert Dewar
2000-01-03 0:00 ` Robert A Duff
2000-01-03 0:00 ` Robert Dewar
2000-01-04 0:00 ` Florian Weimer
2000-01-04 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