lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


* Mike Pall:

> - Supported functions: bit.tobit, bit.bnot, bit.band, bit.bor, bit.bxor,
>   bit.lshift, bit.rshift, bit.arshift, bit.rol, bit.ror, bit.bswap

Thanks.

A bswap16 function could be useful.  And maybe you can implement
not(x) as -x - 1 (but I'm not sure about this).