|
|
||
|
On Nov 26, 2011, at 1:40 AM, Alexander Gladysh wrote:
> Same with LuaJIT 2. Haven't tried 5.2.
Hmmm... get 16896643247 in both cases in 5.2...
$ lua -v
Lua 5.2.0 Copyright (C) 1994-2011 Lua.org, PUC-Rio
s="3ef1e50af"
print( tonumber(s, 16) )
print( ("0x"..s) + 0 )
> 16896643247
> 16896643247