in reply to symbolic increment/decrement of roman numerals
Note: I understand the idea of the symbolic approach, so that such things as inc('IM') return M (so, in this sense, IM is "legal" input, but not the expected output for dec('M') --- this is what I mean by "legal"). I just thought that inc('IL') should return L as expected, but dec('L') should return XLIX. (Note, similarly, that decrementing D ten times returns CDXC and not XD.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: symbolic increment/decrement of roman numerals
by PetaMem (Priest) on Jun 04, 2005 at 10:08 UTC | |
by kaif (Friar) on Jun 04, 2005 at 18:12 UTC |