From: Keith Thompson on
"Martin Krischik" <krischik(a)users.sourceforge.net> writes:
> Am 14.06.2010, 18:45 Uhr, schrieb Keith Thompson <kst-u(a)mib.org>:
>
>> Not all Ada compilers implement Short_Short_Integer, but all Ada
>> compilers do implement:
>> type My_Type is range -128 .. 127;
>
> for My_Type'Size use 8;
>
> otherwise you type might not be as short as you think it is.

That depends on whether you care about the size, or only about the
range.

It might also be rejected if the implementation doesn't use
two's-complement.

--
Keith Thompson (The_Other_Keith) kst-u(a)mib.org <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"