lua-users home
lua-l archive

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


clemens fischer wrote:
> The documentation states that the bitops are builtin and there's no
> module to load, but even when I don't "require()" it, "bit" is nil.

The documentation for LuaJIT 2.0 states that, but you're using
LuaJIT 1.x. Install the Lua BitOp module and it should work.

For a new application or if you need high performance for bit
operations, consider using LuaJIT 2.0.

--Mike