From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: output of enumeration types
Date: Tue, 19 Apr 2005 14:56:42 +0200
Date: 2005-04-19T14:56:42+02:00 [thread overview]
Message-ID: <5cj60ov2llxs$.96jjfyvlabd3.dlg@40tude.net> (raw)
In-Reply-To: mailman.48.1113910014.24457.comp.lang.ada@ada-france.org
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=<empty>
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
next prev parent reply other threads:[~2005-04-19 12:56 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-18 22:04 output of enumeration types Staszek Goldstein
2005-04-18 22:35 ` Larry Kilgallen
2005-04-18 22:43 ` Staszek Goldstein
2005-04-18 23:35 ` Staszek Goldstein
2005-04-19 0:07 ` Stephen Leake
2005-04-19 0:43 ` Staszek Goldstein
2005-04-19 4:56 ` Martin Krischik
2005-04-19 18:57 ` Jeffrey Carter
2005-04-20 0:40 ` Staszek Goldstein
2005-04-20 1:38 ` Jeffrey Carter
2005-04-19 0:33 ` Larry Kilgallen
2005-04-19 0:51 ` Staszek Goldstein
2005-04-19 23:40 ` Stephen Leake
2005-04-20 0:17 ` Staszek Goldstein
2005-04-20 9:53 ` Dmitry A. Kazakov
2005-04-20 23:16 ` Stephen Leake
2005-04-19 0:59 ` Staszek Goldstein
2005-04-19 1:54 ` Robert A Duff
2005-04-19 3:03 ` Larry Kilgallen
2005-04-19 10:34 ` output and digits Staszek Goldstein
2005-04-20 13:56 ` Robert A Duff
2005-04-20 19:53 ` Staszek Goldstein
2005-04-19 3:04 ` output of enumeration types Steve
2005-04-19 7:31 ` Dmitry A. Kazakov
2005-04-19 7:49 ` Szymon Guz
2005-04-19 8:11 ` Dmitry A. Kazakov
2005-04-19 11:26 ` Marius Amado Alves
2005-04-19 12:56 ` Dmitry A. Kazakov [this message]
2005-04-19 13:57 ` Marius Amado Alves
2005-04-19 16:05 ` Larry Kilgallen
2005-04-19 17:55 ` Georg Bauhaus
2005-04-19 21:39 ` Florian Weimer
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox