diff options
author | Gerardo Zamudio <gerardo.zamudio@linux.com> | 2017-10-06 00:14:30 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-10-06 00:14:30 +0100 |
commit | ea29eb6b976e9e727c456cb510e045147bcd211f (patch) | |
tree | 5919a74af33cfaa9b4f93cca499c2020b9c15e1f /libraries/LuaBitOp/README | |
parent | b897d837cb4138ebf38b107b12b0a59b1b531b59 (diff) |
libraries/LuaBitOp: Added (bitwise operations on numbers for Lua).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/LuaBitOp/README')
-rw-r--r-- | libraries/LuaBitOp/README | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libraries/LuaBitOp/README b/libraries/LuaBitOp/README new file mode 100644 index 0000000000000..4a972a1cfc1f3 --- /dev/null +++ b/libraries/LuaBitOp/README @@ -0,0 +1,19 @@ +Lua BitOp is a C extension module for Lua 5.1/5.2 which adds bitwise +operations on numbers. + +Features + +* Supported functions: bit.tobit, bit.tohex, bit.bnot, bit.band, + bit.bor, bit.bxor, bit.lshift, bit.rshift, bit.arshift, bit.rol, + bit.ror, bit.bswap +* Consistent semantics across 16, 32 and 64 bit platforms. +* Supports different lua_Number types: either IEEE 754 doubles, int32_t + or int64_t. +* Runs on Linux, *BSD, Mac OS X, Windows and probably anything else you + can find. +* Simple installation on all systems. No bulky configure scripts. + Embedded-systems-friendly. +* Internal self-test on startup to detect miscompiles. Includes a + comprehensive test and benchmark suite. +* Compatible with the built-in bitwise operations in LuaJIT 2.0. +* It's as fast as you can get with the standard Lua/C API. |