Computes the bitwise exclusive OR (XOR) of two integers.
In BBC BASIC this operator was named EOR.
How to read it
- Returns bits set when exactly one of a or b has the bit set.
Examples
This example produces 5.
Notes
- Operates on 64-bit integers.
See also:
BITOR · BITAND · BITXNOR