On this page
math.bit_and
Bitwise AND of two values as unsigned 32-bit integers.
Syntax
Atlas Script
math.bit_and(value, operand)Parameters
value- Value written, converted, or evaluated by this method. Its required type and range are described in Remarks.
operand- Second operand of the bitwise operation, treated as an unsigned 32-bit integer.
Return value
See the remarks for the returned value and runtime behavior.
Remarks
Bitwise AND of two values as unsigned 32-bit integers. Each value is truncated toward zero and wrapped, so -1 is 0xFFFFFFFF.
Examples
Usage pattern
// Replace value, operand with values described above.
math.bit_and(value, operand);