comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: What is the history behind Natural'First = 0 ?
Date: Fri, 1 May 2020 12:24:15 +0200
Date: 2020-05-01T12:24:15+02:00	[thread overview]
Message-ID: <r8gtcf$i1e$1@dont-email.me> (raw)
In-Reply-To: <0632fbec-c29f-40c8-8b78-9ee2aaef7723@googlegroups.com>

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

  reply	other threads:[~2020-05-01 10:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-01  4:51 What is the history behind Natural'First = 0 ? reinert
2020-05-01  7:52 ` J-P. Rosen
2020-05-01  8:38   ` AdaMagica
2020-05-01 10:24     ` J-P. Rosen [this message]
2020-05-01 19:03   ` Keith Thompson
2020-05-01 21:36     ` Robert A Duff
2020-05-03 20:08       ` Keith Thompson
2020-05-04  3:02         ` Keith Thompson
2020-05-04  8:50           ` Paul Rubin
2020-05-04 14:22           ` Dennis Lee Bieber
2020-05-01 10:13 ` Jeffrey R. Carter
2020-05-01 18:14 ` Optikos
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox