This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > Libraries > LuaBitOp (1.0.2)

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.

This requires: lua

Maintained by: Gerardo Zamudio
Keywords: bitwise,lua,bit32,prosody,socket
ChangeLog: LuaBitOp

Homepage:
http://bitop.luajit.org/

Source Downloads:
LuaBitOp-1.0.2.tar.gz (d0c1080fe0c844e8477279668e2d0d06)

Download SlackBuild:
LuaBitOp.tar.gz
LuaBitOp.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds