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=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,86d333341f490421 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-26 19:02:23 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!elk.ncren.net!nntp.upenn.edu!msunews!not-for-mail From: "Chad R. Meiners" Newsgroups: comp.lang.ada Subject: Re: Natural data type ? Date: Tue, 26 Mar 2002 21:57:22 -0500 Organization: Michigan State University Message-ID: References: <3CA12AD4.2030807@oek.dk> Reply-To: "Chad R. Meiners" NNTP-Posting-Host: arctic.cse.msu.edu X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:21710 Date: 2002-03-26T21:57:22-05:00 List-Id: No misprint. The natural numbers can be define as containing zero as well as not containing zero. I know a good deal of mathematicians that define N to include zero; I also know a good deal of mathematicians that prefer N to only include positive whole numbers (zero is neither positive nor negative). -CRM "Peter I. Hansen" wrote in message news:3CA12AD4.2030807@oek.dk... > Hello > > I'm new to Ada and I'm reading a book by Feldman & Koffman. > Now I see that the datatype 'Natural' is the integers {0,1,2,3,4,...}, > and type Positive is {1,2,3,4,5,....}. I know this is all akademic, but > why this definition. > We learn in mathematics that the natural numbers are positive integers > not including zero..., So to me the 'Natural' way of defining these > datatypes would be : > > Natural : {1,2,3,4,5, ... } > Positive : {0,1,2,3,4, ... } > > Am I all wrong here or have I stumbled across a misprint ??? > > /Peter >