From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Ada array contiguity.
Date: Sun, 19 Feb 2023 16:08:09 +0100 [thread overview]
Message-ID: <tste0q$bdnn$2@dont-email.me> (raw)
In-Reply-To: <k5erquF5lhmU2@mid.individual.net>
On 2023-02-19 15:59, Niklas Holsti wrote:
> On 2023-02-19 16:28, J-P. Rosen wrote:
>> (BTW: try to find a definition of "contiguous". At byte level? At word
>> level? What if the element does not fill a byte?)
>
> Indeed. But it seems to me that Arr'Size = Arr'Length * Comp'Size is the
> meaning usually intended for programming purposes.
Rather: the bit offset of an element is a linear function of its position.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2023-02-19 15:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-19 13:34 Ada array contiguity Rod Kay
2023-02-19 14:28 ` J-P. Rosen
2023-02-19 14:59 ` Niklas Holsti
2023-02-19 15:08 ` Dmitry A. Kazakov [this message]
2023-02-19 17:10 ` J-P. Rosen
2023-02-19 17:54 ` Niklas Holsti
2023-02-19 19:05 ` Dmitry A. Kazakov
2023-02-20 7:12 ` J-P. Rosen
2023-02-19 22:02 ` Jeffrey R.Carter
2023-03-01 13:22 ` Rod Kay
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox