Function |
Description |
---|---|
Bitwise AND operation |
|
Bitwise OR operation |
|
Bitwise Exclusive OR operation |
|
Bitwise Not operation |
Bitwise AND operation
number uBitAnd(value, ...)
A list of numeric arguments
uBitAnd(10, 3) // returns "2"
Bitwise OR operation
number uBitOr(value, ...)
A list of numeric arguments
uBitOr(10, 3) // returns "11"
Bitwise Exclusive OR operation
number uBitXOr(value1 , value2)
Values to calculate
uBitXOr(10, 3) // returns "9"
Bitwise Not operation
number uBitNot(value)
A numeric argument
uBitNot(10) // returns "-11"