lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> > Is a 64-bit version coming?
> 
> If you need it, it's probably easy to do it yourself by changing NBITS
> in lbitlib.c and LUA_UNSIGNED in luaconf.h.

I was too fast replying. A 64-bit version of bit32 would have problem
storing its results in a lua_Number, even if lua_Number is double, because
you'll have at most 52+1 bits available. So it'd be bit53 more likely :-)