Scalar FunctionsMath Functions
binary_xor
Return the bitwise exclusive OR of two 64-bit integers.
The result is a long; a null argument gives null.
Aliases: bxor
Syntax
binary_xor(value1, value2)Parameters
Prop
Type
Returns: long
Examples
Example 1
print binary_xor(12, 10), binary_xor(255, 255)| print_0 (long) | print_1 (long) |
|---|---|
| 6 | 0 |