2 ms·
01961 is not a valid year as '9' is not a valid octal digit.
by gumby 5y ago
01961 is not a valid year as '9' is not a valid octal digit.
- kragen 5y agoIt is in K&R!
- gumby 5y agoCurses, you're right!
- eru 5y agoMarginally related: https://en.wikipedia.org/wiki/Bijective_numeration https://en.wikipedia.org/wiki/Bijective_numeration Basically, Excel has a numbering system that uses A-Z for 1 to 26, but no 0. But the system still works just fine.
- kragen 5y agoThanks, I'd never made that connection! I see it's mentioned in the Wikipedia article now.
- eru 5y agoThere's lots of other fun numbering systems. The book 'Purely Functional Data Structures' has lots more obscure numbering systems, and uses them to construct data structures. To give a trivial example: unary numbers are basically equivalent to linked lists. Skew binary number are equivalent to something more interesting!