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,78ec96be17741f16 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: comp.lang.ada Subject: Re: Unclear error message - please help References: <432C8690.C37D4AE0@alfred-hilscher.de> <43482077.3434FCF3@alfred-hilscher.de> <4894486.ZC6T0HgaI8@linux1.krischik.com> From: Brian May Date: Mon, 10 Oct 2005 08:02:07 +1000 Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:sv/MON9PhHLrL0Y89RNEnjkvgkA= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: snoopy.microcomaustralia.com.au X-Trace: news.melbourne.pipenetworks.com 1128895328 202.173.153.89 (10 Oct 2005 08:02:08 +1000) X-Complaints-To: abuse@pipenetworks.com X-Abuse-Info: Please forward all headers to enable your complaint to be properly processed. Path: g2news1.google.com!news4.google.com!newshub.sdsu.edu!peer01.west.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!news.xtra.co.nz!news-south.connect.com.au!duster.adelaide.on.net!news.melbourne.pipenetworks.com!not-for-mail Xref: g2news1.google.com comp.lang.ada:5529 Date: 2005-10-10T08:02:07+10:00 List-Id: >>>>> "Martin" == Martin Krischik writes: Martin> A "range 0..65535" needs 17 bits and an "is Integer" is Martin> usually 32 bit. Martin> See Martin> http://en.wikibooks.org/wiki/Ada_Programming/Types/range Martin> http://en.wikibooks.org/wiki/Ada_Programming/Types/mod Martin> for more info. I read the above links but didn't see why a range 0..65535 requires 17 bits. -- Brian May