
Package Information for luabitlib-20p1.tgz (sparc)
[ FTP 1 ]
[ FTP 2 ]
[ Package Contents ]
luabitlib is a C library for Lua 5.1 that provides bitwise operations.
Functions provided:
bit.bnot(a) returns the one's complement of a
bit.band(w1,...) returns the bitwise and of the w's
bit.bor(w1,...) returns the bitwise or of the w's
bit.bxor(w1,...) returns the bitwise exclusive or of the w's
bit.lshift(a,b) returns a shifted left b places
bit.rshift(a,b) returns a shifted logically right b places
bit.arshift(a,b) returns a shifted arithmetically right b places
bit.mod(a,b) returns the integer remainder of a divided by b
Maintainer: The OpenBSD ports mailing-list <ports@openbsd.org>
WWW: http://bitlib.luaforge.net/