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: 103376,9ce828272f314121 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed.arcor.de!news.arcor.de!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: output of enumeration types Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.14.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: <1gv02c5pwbx1e$.sugmeiie353z$.dlg@40tude.net> Date: Tue, 19 Apr 2005 14:56:42 +0200 Message-ID: <5cj60ov2llxs$.96jjfyvlabd3.dlg@40tude.net> NNTP-Posting-Date: 19 Apr 2005 14:56:42 MEST NNTP-Posting-Host: c1acb810.newsread2.arcor-online.net X-Trace: DXC=lQoJn8Ja5WYghFd\k@b23TQ5U85hF6f;TjW\KbG]kaMX:cmYYm_h3\Sc8P2k On Tue, 19 Apr 2005 12:26:25 +0100, Marius Amado Alves wrote: >>> ... 'I' >>> is not a digit. It can represent or not a decimal position depending >>> on the >>> context. For example in 'XIII', the "digits" are 'X' and 'III'. > > This is rubbish. There are no "decimal positions" in Roman numbers. If > there were, XIII = 103, not 13, IV = 15, not 4. Positions are counted in digits /= characters! Otherwise "forty five" would be 40005 (:-)) No, actually Roman system is almost decimal positional, I am using this in my software. Decimal digits are: 0= 1=a, 2=aa, 3=aaa, 4=ab, 5=b, 6=ba, 7=baa, 8=baaa, 9=ac Characters in the triplet a, b, c change their spelling with the position: a b c --> 1x I V X, 10x X L C, 100x C D M 1000x M - - Only absence of a non-empty digit for 0 prevented Romans from noticing that there is no any need in changing spelling according to the position. > "Digit" does not necessarily convey position. It is a notion, not some > engineering standard. It is OK to call 'X', 'I', "Roman digits." > However the canonical name is "characters," I think. > > And, Dmitry, larger numbers than 3999 could be written: a slash over > the character multiplies by 1000. A job for Unicode I guess... Wasn't it a medieval vulgarization? -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de