Bits
Function | Description | Meta |
---|---|---|
bits.and |
Returns the bitwise "AND" of two integers. Arguments: Returns:x (number)the first integer y (number)the second integer z (number)the bitwise AND of | v0.18.0 Wasm |
bits.lsh |
Returns a new integer with its bits shifted Arguments: Returns:x (number)the integer to shift s (number)the number of bits to shift z (number)the result of shifting | v0.18.0 Wasm |
bits.negate |
Returns the bitwise negation (flip) of an integer. Arguments: Returns:x (number)the integer to negate z (number)the bitwise negation of | v0.18.0 Wasm |
bits.or |
Returns the bitwise "OR" of two integers. Arguments: Returns:x (number)the first integer y (number)the second integer z (number)the bitwise OR of | v0.18.0 Wasm |
bits.rsh |
Returns a new integer with its bits shifted Arguments: Returns:x (number)the integer to shift s (number)the number of bits to shift z (number)the result of shifting | v0.18.0 Wasm |
bits.xor |
Returns the bitwise "XOR" (exclusive-or) of two integers. Arguments: Returns:x (number)the first integer y (number)the second integer z (number)the bitwise XOR of | v0.18.0 Wasm |