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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bd3300f3a56e7f45 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-18 06:45:20 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!newsfeed.vmunix.org!news-FFM2.ecrc.net!informatik.uni-bremen.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: different compilers: different standard types????? Date: Thu, 18 Mar 2004 14:45:20 +0000 (UTC) Organization: GMUGHDU Message-ID: References: NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1079621120 14694 134.91.1.34 (18 Mar 2004 14:45:20 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Thu, 18 Mar 2004 14:45:20 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:6407 Date: 2004-03-18T14:45:20+00:00 List-Id: Marius Amado Alves wrote: : So if you want to define an integral type with a greater range than (the : associated with) 32 bits, you have to use Long_Long_Integer as a base. But : then you hinder portability, because Long_Long_Integer is not standard. would this work: procedure l is type LI is range 0 .. 2**40 - 1; x: LI; begin x := 2 ** 34; end l; -- Georg