Module posix.bit32

Bitwise operators.

Functions

band (...) Bitwise and operation.
bnot (i) Bitwise not operation.
bor (...) Bitwise or operation.


Functions

band (...)
Bitwise and operation.

Parameters:

  • ... int 32-bit integers to act on

Returns:

    int bitwise and of all arguments, truncated to 32 bits
bnot (i)
Bitwise not operation.

Parameters:

  • i int 32-bit integer to act on

Returns:

    int bitwise negation of i
bor (...)
Bitwise or operation.

Parameters:

  • ... int 32-bit integers to act on

Returns:

    int bitwise or of all arguments, truncated to 32 bits
generated by LDoc 1.4.3 Last updated 2015-01-04 12:06:34