comp.lang.ada
 help / color / mirror / Atom feed
* What is the history behind Natural'First = 0 ?
@ 2020-05-01  4:51 reinert
  2020-05-01  7:52 ` J-P. Rosen
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: reinert @ 2020-05-01  4:51 UTC (permalink / raw)


I have been wondering about this for years:

Why Natural'First = 0 ?

There is no consensus about including 0 among the natural numbers.
Since there is a Positive (Positive'First = 1), one may expect Natural'First = 0
Except for this, I find little intuition in "Natural'First = 0".


Copy form: https://en.wikipedia.org/wiki/Natural_number#History

Some definitions, including the standard ISO 80000-2,[1][2] begin the natural numbers with 0, corresponding to the non-negative integers 0, 1, 2, 3, …, whereas others start with 1, corresponding to the positive integers 1, 2, 3, …,[3][4] while others acknowledge both definitions.[5] Texts that exclude zero from the natural numbers sometimes refer to the natural numbers together with zero as the whole numbers, but in other writings, that term is used instead for the integers (including negative integers).[6]

Is the key point here: "the standard ISO 80000-2" ?

reinert

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-05-04 14:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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