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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,cd703a96ca51de6e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: 'Base References: <1134055303.758950.308680@o13g2000cwo.googlegroups.com> <1134065313.469475.267400@g47g2000cwa.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Thu, 08 Dec 2005 19:51:45 GMT NNTP-Posting-Host: 67.3.225.125 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.news.pas.earthlink.net 1134071505 67.3.225.125 (Thu, 08 Dec 2005 11:51:45 PST) NNTP-Posting-Date: Thu, 08 Dec 2005 11:51:45 PST Xref: g2news1.google.com comp.lang.ada:6779 Date: 2005-12-08T19:51:45+00:00 List-Id: Martin Dowie wrote: >> type T'Base is -42 .. 42; > > It isn't -42 .. 42 but the 'First .. 'Last or the underlying integer > representation. In this case (with ObjectAda) -2147483648 to 2147483647. -42 .. 42 is the minimum range of the Base type, but since the base type for an integer type typically maps to something supported by the hardware, this is an unlikely representation. I'm surprised ObjectAda uses 32 bits for this. GNAT 3.4.2 uses 8 bits (-128 .. 127). -- Jeff Carter "Why don't you bore a hole in yourself and let the sap run out?" Horse Feathers 49