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 Path: g2news1.google.com!news1.google.com!proxad.net!134.158.69.22.MISMATCH!in2p3.fr!irazu.switch.ch!news-zh.switch.ch!switch.ch!news.hispeed.ch!linux2.krischik.com!news From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Unclear error message - please help Date: Tue, 11 Oct 2005 20:03:39 +0200 Organization: Cablecom Newsserver Message-ID: <14302082.OkWFL0V1RL@linux1.krischik.com> References: <432C8690.C37D4AE0@alfred-hilscher.de> <43482077.3434FCF3@alfred-hilscher.de> <4894486.ZC6T0HgaI8@linux1.krischik.com> <7584946.OpPvqevNQa@linux1.krischik.com> NNTP-Posting-Host: 84-73-3-231.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.hispeed.ch 1129056303 29662 84.73.3.231 (11 Oct 2005 18:45:03 GMT) X-Complaints-To: news@hispeed.ch NNTP-Posting-Date: Tue, 11 Oct 2005 18:45:03 +0000 (UTC) User-Agent: KNode/0.9.2 Xref: g2news1.google.com comp.lang.ada:5550 Date: 2005-10-11T20:03:39+02:00 List-Id: Brian May wrote: >>>>>> "Martin" == Martin Krischik writes: > > Martin> All range types alow for positive and negative values - > Martin> even when the subtype is restricted to a positive range - > Martin> so they need a sign bit. > > In another thread I asked if it was possible to have a unsigned 64 bit > number on a 32 bit platform - the answer was yes. > > People showed me the specification of a built-in Ada package to prove > it. Sorry I can't remember the exact name of the Package > (os.interfaces???), and I don't have time to check now either. > Nobody mentioned anything about packing (that I noticed) either. Unsigned type are created with the keyword "mod" while the keyword "range" creates signed integer. Ok, I confess that needs a bit of getting used to. Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com