Examples
?- X is 3 xor 3.
X = 0
yes
?- X is 3 xor 7.
X = 4
yes
?- X is 3 xor 6.
X = 5
yes
?- X is 3 xor 8.
X = 11
yes
?- X is 43 xor 27.
X = 48
yes
?- X is 27 xor 43.
X = 48
yes
?- X is 43 xor 0.
X = 43
yes
?- X is 0 xor 0.
X = 0
yes
xor
- bitwise 'exclusive or'. ?- X is 3 xor 3.
X = 0
yes
?- X is 3 xor 7.
X = 4
yes
?- X is 3 xor 6.
X = 5
yes
?- X is 3 xor 8.
X = 11
yes
?- X is 43 xor 27.
X = 48
yes
?- X is 27 xor 43.
X = 48
yes
?- X is 43 xor 0.
X = 43
yes
?- X is 0 xor 0.
X = 0
yes