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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: What is the history behind Natural'First = 0 ? Date: Fri, 1 May 2020 12:24:15 +0200 Organization: Adalog Message-ID: References: <9f0215ca-2760-47cf-a7cb-50184892e1d0@googlegroups.com> <0632fbec-c29f-40c8-8b78-9ee2aaef7723@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 1 May 2020 10:24:15 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="0171a3a1743123cf50a1c243dfb8542a"; logging-data="18478"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19QHiJE5eaQ51tQWILtz9gn" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cancel-Lock: sha1:xGTwelX+QcWKBbOofDMycProsxs= In-Reply-To: <0632fbec-c29f-40c8-8b78-9ee2aaef7723@googlegroups.com> Content-Language: fr Xref: reader01.eternal-september.org comp.lang.ada:58541 Date: 2020-05-01T12:24:15+02:00 List-Id: Le 01/05/2020 à 10:38, AdaMagica a écrit : >> Anyway, type Integer is not the mathematical notion of (infinite) >> integers, and more generaly computer types are only reduced >> abstractions of mathematical notions. > Being a wiseacre, I'd like to point out out RM 3.5.4(8): The set of > values for a signed integer type is the (infinite) set of > mathematical integers[, though only values of the base range of the > type are fully supported for run-time operations]. > Yes, but being even more pedantic, let me point out that Integer is not a type, it is a first named subtype. The type is purely conceptual in Ada (wasn't like this in Ada83) -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr