[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua 5.1.1 has been frozen
- From: Roger Ivie <rivie@...>
- Date: Sat, 17 Jun 2006 11:30:51 -0700 (PDT)
On Sat, 17 Jun 2006, Joseph Stewart wrote:
2#1001 gets converted into 9 and
16#ff gets converted to 255
1#111 gets converted to 3 (okay, base one isn't that useful)
This would make some of my code much easier to read.
Umm... given that the largest digit in a given radix is one less than
the radix, should that be 1#000 gets converted to 0? 1 wouldn't be a
valid digit in base 1 just as 2 is not a valid digit in base 2.