Bit

Lua BitOp is a C extension module for Lua 5.1 which adds bitwise operations on numbers.

Lua BitOp is Copyright © 2008-2009 Mike Pall. Lua BitOp is free software, released under the MIT/X license (same license as the Lua core).

Features

More ...

Please click on one of the links in the navigation bar to your left to learn more.

Please visit the Download page to fetch the current version of Lua BitOp.

News

2009-01-06 Lua BitOp 1.0.1 has been released
New bit.tohex function for portable conversion of results to hexadecimal strings. This was added because string.format("%x", x) fails for negative numbers on some platforms.