lua-bitop
Port variant lua51
Summary Bitwise operations on numbers for Lua 5.1
Package version 1.0.3
Homepage http://bitop.luajit.org/
Keywords devel
Maintainer nobody
License Not yet specified
Other variants lua52 | lua53 | lua54
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 28 MAY 2025, 22:38:23 UTC
Port created 02 JUL 2017, 02:38:06 UTC
Subpackage Descriptions
single 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.
Configuration Switches (platform-specific settings discarded)
LUA51 ON Build with Lua 5.1 LUA52 OFF Build with Lua 5.2 LUA53 OFF Build with Lua 5.3 LUA54 OFF Build with Lua 5.4
Package Dependencies by Type
Build (only) lua51:set:std
gmake:primary:std
Download groups
main http://bitop.luajit.org/download/
Distribution File Information
d514a3d2cefa76c8d11c1b9ec740d5fae316a9c9764e1e12ddea21e4982fab4b 19915 LuaBitOp-1.0.3.tar.gz
Ports that require lua-bitop:lua51
neovim:std Next generation Vim