Browse docsmath.bit_not
On this page
API method

math.bit_not

Bitwise NOT of a value as an unsigned 32-bit integer, so math.bit_not(0) is 4294967295 (0xFFFFFFFF).

Syntax

Atlas Script
math.bit_not(value)

Parameters

value
Value written, converted, or evaluated by this method. Its required type and range are described in Remarks.

Return value

See the remarks for the returned value and runtime behavior.

Remarks

Bitwise NOT of a value as an unsigned 32-bit integer, so math.bit_not(0) is 4294967295 (0xFFFFFFFF).

Examples

Usage pattern
// Replace value with values described above.
math.bit_not(value);
Reference details are generated from the Atlas Script schema in this documentation source snapshot. Confirm release-specific behavior in the Atlas for Windows build you use.