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-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: unsigned type Date: Tue, 30 Jun 2009 18:01:39 -0500 Organization: Jacob Sparre Andersen Message-ID: References: <4a48968a$0$31863$9b4e6d93@newsspool3.arcor-online.net> <4a493b54$0$31879$9b4e6d93@newsspool3.arcor-online.net> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1246402942 20160 69.95.181.76 (30 Jun 2009 23:02:22 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 30 Jun 2009 23:02:22 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-RFC2646: Format=Flowed; Original Xref: g2news2.google.com comp.lang.ada:6772 Date: 2009-06-30T18:01:39-05:00 List-Id: "Georg Bauhaus" wrote in message news:4a493b54$0$31879$9b4e6d93@newsspool3.arcor-online.net... ... > In fact, for Janus/Ada, where Integer is a 16bit type, > the announcement states, "Support for full 16 and 32-bit > unsigned types and their operations is included"... It's interesting that the primary reason that we didn't change type Integer from 16-bit to 32-bit when we moved the compiler to the 386 was because we had (and our customers had) too much old code that failed to follow the advice to avoid using the predefined types. And a lot of that code assumed a 16-bit representation. Moral of the story: if you care about portability, limit as much as possible the use of the numeric types defined in Standard. Randy.