From: Ken Garlington <garlingtonke@lmtas.lmco.com>
Subject: Re: Prevalence of Compilers for Which Integer'Size < 32?
Date: 1996/07/30
Date: 1996-07-30T00:00:00+00:00 [thread overview]
Message-ID: <31FE0C01.302F@lmtas.lmco.com> (raw)
In-Reply-To: Dv9Iwu.AEC@world.std.com
Robert A Duff wrote:
>
> What's wrong with:
>
> type anInt32 is range -2**31 .. 2**31-1;
Because it's not:
Bits_32 : constant := 32;
type anInt32 is range -(2**(Bits_32-1)) .. 2**(Bits_32-1)-1;
Note the gratuitous parentheses in the first expression, to help those
who think "-2" is a literal and not an expression.
(Sorry, couldn't resist :)
--
LMTAS - "Our Brand Means Quality"
next prev parent reply other threads:[~1996-07-30 0:00 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-26 0:00 Prevalence of Compilers for Which Integer'Size < 32? Dave Marshall
1996-07-27 0:00 ` steved
1996-07-28 0:00 ` Dave Marshall
1996-07-28 0:00 ` steved
1996-07-28 0:00 ` Robert A Duff
1996-07-28 0:00 ` Robert Dewar
1996-07-29 0:00 ` Robert A Duff
1996-07-28 0:00 ` Robert Dewar
1996-07-28 0:00 ` Robert A Duff
1996-07-30 0:00 ` Ken Garlington [this message]
1996-07-30 0:00 ` Robert Dewar
1996-08-01 0:00 ` steved
[not found] ` <31FF5CF0.5C13@lmtas.lmco.com>
1996-08-03 0:00 ` Robert Dewar
1996-08-07 0:00 ` Ken Garlington
-- strict thread matches above, loose matches on Subject: below --
1996-07-28 0:00 tmoran
1996-07-29 0:00 ` John Herro
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox