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: a07f3367d7,caabf5265fad78e5 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!e21g2000yqb.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: unsigned type Date: Sun, 28 Jun 2009 12:17:55 -0700 (PDT) Organization: http://groups.google.com Message-ID: <36286c5a-99f0-4ed9-8ef0-11d7af230216@e21g2000yqb.googlegroups.com> References: <59O1m.404661$4m1.69194@bgtnsc05-news.ops.worldnet.att.net> NNTP-Posting-Host: 94.108.234.188 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1246216677 1786 127.0.0.1 (28 Jun 2009 19:17:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 28 Jun 2009 19:17:57 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e21g2000yqb.googlegroups.com; posting-host=94.108.234.188; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.7) Gecko/2009030810 Iceweasel/3.0.9 (Debian-3.0.9-1),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6687 Date: 2009-06-28T12:17:55-07:00 List-Id: anon wrote on comp.lang.ada > with Interfaces ; =A0-- =A0 > use =A0Interfaces ; =A0-- > > Unless you need a special type just uses the predefined types in this pac= kage. =A0 Note that you will need a special type most of the time; you'd use Interfaces.Unsigned_* only when interfacing with hardware or other compilers. Similarly, you should not use the predefined types Integer, Natural or Positive to represent your problem domain's entities; use them only when interfacing with the predefined library (Ada.*). -- Ludovic Brenta.