Bit operationsReference
bit.bxor
Combine values with bitwise exclusive OR.
Details#
Combine values with bitwise exclusive OR. A number in 0…4294967295 representing an unsigned 32-bit result.
Signature#
bit.bxor(...values: number): numberParameters#
| Parameter | Type | Description |
|---|---|---|
...values | number | Values folded from left to right. |
Returns#
A number in 0…4294967295 representing an unsigned 32-bit result.
Examples#
Local example
print(bit.bxor(12, 10)) -- 6