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,245c84afd1e393ce X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!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: What about big integers in Ada 2005? Date: Thu, 15 Sep 2005 19:26:45 +0200 Organization: Cablecom Newsserver Message-ID: <1581461.uQ1jN63t33@linux1.krischik.com> References: NNTP-Posting-Host: 84-73-3-68.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.hispeed.ch 1126808115 27897 84.73.3.68 (15 Sep 2005 18:15:15 GMT) X-Complaints-To: news@hispeed.ch NNTP-Posting-Date: Thu, 15 Sep 2005 18:15:15 +0000 (UTC) User-Agent: KNode/0.9.2 Xref: g2news1.google.com comp.lang.ada:4739 Date: 2005-09-15T19:26:45+02:00 List-Id: jtg wrote: > When I started to learn Ada, one of the most interesting features for me > was the possibility to declare integer type of the specified range. > I imagined that the integer type may be of any size. > However, several years later I needed big integers and I was > disappointed - Ada95 does not support integers of ANY size, > it can support only those integers that are supported > by the processor, or smaller. You are mistaken here. i.E GNAT supports 64 integers for 32 bit CPUs. It's all up to the particular compiler. In theory you could create an Ada compiler which supports intergers up to the memory limit - it would still conform to the standart. Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com