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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,58e0097f787e49d4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-03 11:32:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!ppp-2-28.cvx2.telinco.NET!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: Naturals and discrete types Date: Sat, 3 Nov 2001 18:01:18 -0000 Message-ID: <9s1gop$113r37$1@ID-25716.news.dfncis.de> References: <9rupv9$o5h$1@nh.pace.co.uk> NNTP-Posting-Host: ppp-2-28.cvx2.telinco.net (212.1.141.28) X-Trace: fu-berlin.de 1004815961 34729063 212.1.141.28 (16 [25716]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.lang.ada:15747 Date: 2001-11-03T18:01:18+00:00 List-Id: > "Preben Randhol" wrote in message > news:slrn9u5sp5.v0j.randhol+abuse@kiuk0156.chembio.ntnu.no... > > > > > > Natural is a subtype of Integer with a range of 0 to Integer'last. > > > > Which again comes from basic mathematics. :-) "Marin David Condic" wrote in message news:9rupv9$o5h$1@nh.pace.co.uk... > Except that when I was in gradeschool and "The New Math" was popular, they > called those "Whole" numbers with "Natural" numbers being from 1..Infinity > (Or Integer'Last, if you just want to get the job done...) > > When did Natural numbers start including zero? Was I cutting class that day? I have it on fairly good authority (a leader in finite mathematics research) that, as far as mathematicians are concerned, the set of natural numbers (denoted by a funny N), constitutes the integers from 1 upwards (to what they call Aleph 0, because they just have to have a fancy name for infinity ;-) They use a funny Z with a plus and 0 for what Ada calls Natural. Which just goes to show that we're better off not taking too much notice of mathematicians anyway. They'd say Ada has "too much notation." :-) -- Nick Roberts