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, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,caabf5265fad78e5 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: unsigned type Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <59O1m.404661$4m1.69194@bgtnsc05-news.ops.worldnet.att.net> <1eS1m.2153$j84.1865@nlpi061.nbdc.sbc.com> <26nl0usbijt2.f3fb47lsno0o.dlg@40tude.net> <4a488ee7$0$31870$9b4e6d93@newsspool3.arcor-online.net> Date: Mon, 29 Jun 2009 14:43:59 +0200 Message-ID: NNTP-Posting-Date: 29 Jun 2009 14:40:46 CEST NNTP-Posting-Host: 6de20300.newsspool1.arcor-online.net X-Trace: DXC=7W5IO;9DldR\9P[:DUn00Qic==]BZ:af^4Fo<]lROoRQ^YC2XCjHcbY_dU2l_I0W2^DNcfSJ;bb[UFCTGGVUmh?TLK[5LiR>kgR@fO1_5RoekY X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:6714 Date: 2009-06-29T14:40:46+02:00 List-Id: On Mon, 29 Jun 2009 11:52:39 +0200, Georg Bauhaus wrote: > Dmitry A. Kazakov schrieb: >> On Sun, 28 Jun 2009 17:34:29 -0500, Gary Scott wrote: >> >>> tmoran@acm.org wrote: >>> >>>> Ada's equivalent is Natural. If >>> Sorry for the naive question. I'm curious as to the reason for the term >>> "natural". "Unnatural" would seem more descriptive :) >> >> Far better than Cardinal, though. Last time I used Modula-2, its Cardinal >> didn't contain aleph-0 and aleph-1... (:-)) > > What actually _is_ the mathematically correct word > for Ada's Natural? I think that "natural" is better than "cardinal". Of course it is not all Z (natural). It is a subset of Z plus an ideal Constraint_Error to represent the interval ]Natural'Last..+oo[: { 0, 1, 2, ..., Natural'Last, Constraint_Error } The semantics of Natural operations differs from Z when Constraint_Error is propagated. Further, there are operations undefined on Z, like Natural'Size, X'Address etc. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de