From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d57302f2954365e1 X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: Question about base types Date: 1997/01/28 Message-ID: #1/1 X-Deja-AN: 212822976 references: <32ECD6B6.3B5A@elca-matrix.ch> organization: The World Public Access UNIX, Brookline, MA newsgroups: comp.lang.ada Date: 1997-01-28T00:00:00+00:00 List-Id: In article <32ECD6B6.3B5A@elca-matrix.ch>, Mats Weber wrote: >For 1 .. 10, the compiler is quite likely to choose = -128 and > = 127 in order to store your type in a single byte. The compiler can choose -2**31..2**31-1 for the base range, and still store variables of subtype T in a single byte. This makes sense if the machine has a load instruction that takes a single byte from memory and puts it in a 32-bit register. - Bob