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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.3.225 with SMTP id e94mr6431235ioi.7.1519579906077; Sun, 25 Feb 2018 09:31:46 -0800 (PST) X-Received: by 10.157.3.237 with SMTP id f100mr374790otf.6.1519579905976; Sun, 25 Feb 2018 09:31:45 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.linkpendium.com!news.linkpendium.com!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!o66no1556786ita.0!news-out.google.com!a25ni726itj.0!nntp.google.com!o66no1556784ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 25 Feb 2018 09:31:45 -0800 (PST) In-Reply-To: <421d1598-68d7-4d0b-b596-6e9c59cf865c@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2001:470:9174:2:f0c5:8173:1d32:d55d; posting-account=r0RePAgAAABkc8iAou09Mtfbf-fnKQql NNTP-Posting-Host: 2001:470:9174:2:f0c5:8173:1d32:d55d References: <421d1598-68d7-4d0b-b596-6e9c59cf865c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: 64-bit unsigned integer? From: MM Injection-Date: Sun, 25 Feb 2018 17:31:46 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:50644 Date: 2018-02-25T09:31:45-08:00 List-Id: On Sunday, 25 February 2018 16:36:47 UTC, Anh Vo wrote: > On Sunday, February 25, 2018 at 4:30:59 AM UTC-8, MM wrote: > > I tried > > > > type u64 is range 0 .. 2**64-1; -- this fails with "integer type definition bounds out of range". > > > > It should be: type u64 is range 0 .. 2 **63 - 1; That is a 63-bit unsigned, no? > This is max that GNAT can support on 64 bit architecture. Apparently :-) > ... In addition, this is similar to Natural subtype. Look at the standard package for this info. Will do, thanks. M --