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,LOTS_OF_MONEY 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-02 10:19:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!news.maxwell.syr.edu!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Naturals and discrete types Date: Fri, 2 Nov 2001 18:19:04 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1004725144 24584 129.241.83.82 (2 Nov 2001 18:19:04 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Fri, 2 Nov 2001 18:19:04 +0000 (UTC) User-Agent: slrn/0.9.7.2 (Linux) Xref: archiver1.google.com comp.lang.ada:15684 Date: 2001-11-02T18:19:04+00:00 List-Id: On Fri, 02 Nov 2001 17:24:40 GMT, Ted Dennison wrote: > In article , Clueless says... >>Also, I've been checking my Ada docs to find out if the Natural type is >>considered to be a Discrete or Real type by the GNAT compiler, but I >>havent found any specific info yet. Although the compiler messages >>certainly seem to indicate that Natural is a subtype of Real. > > Boy are you confused! > > Natural is a subtype of Integer with a range of 0 to Integer'last. Which again comes from basic mathematics. :-) Preben Randhol -- Please, stop bombing civilians in Afghanistan. One cannot write off killing innocent children and other civilians as "collateral damage". A civilian is a civilian whether he or she is American or from another country in the world. http://web.amnesty.org/11september.htm