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 2002:a24:a089:: with SMTP id o131-v6mr4069327ite.10.1521744240909; Thu, 22 Mar 2018 11:44:00 -0700 (PDT) X-Received: by 2002:a9d:109:: with SMTP id 9-v6mr1511078otu.8.1521744240323; Thu, 22 Mar 2018 11:44:00 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.unit0.net!peer03.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!199-v6no1030018itl.0!news-out.google.com!d3-v6ni1306itf.0!nntp.google.com!199-v6no1030017itl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 22 Mar 2018 11:44:00 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=87.116.177.118; posting-account=z-xFXQkAAABpEOAnT3LViyFXc8dmoW_p NNTP-Posting-Host: 87.116.177.118 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: When enumerating does Ada enumerated type goes up to up to Integer'Last or System.Max_Int From: Bojan Bozovic Injection-Date: Thu, 22 Mar 2018 18:44:00 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 1613 X-Received-Body-CRC: 3491172638 Xref: reader02.eternal-september.org comp.lang.ada:51141 Date: 2018-03-22T11:44:00-07:00 List-Id: http://www.adaic.org/resources/add_content/standards/05aarm/html/AA-3-5-1.h= tml Now this is more theory question as Ada Integer'Last is guaranteed to be at= least 2**15-1 and perhaps nobody exhausted it by enumerating in practice, = but that is minimal Integer'Last and nothing prevents implementation to hav= e bigger System.Max_Int than its Integer'Last (as its in current GNAT which= have System.Max_Int of 2**63-1). Thanks for the answer. Maybe its there written in AARM but wording is terse= .