miha-x64
04/18/2017, 11:31 AMx | y | x xor y
0 | 0 | 0
0 | 1 | 1
1 | 0 | 1
1 | 1 | 0
x | y | x != y
false | false | false
false | true | true
true | false | true
true | true | false
But xor is a bitwise operator, and it will compute all operands. != is a boolean operator, and it will drop some expressions if they are not needed to compute the whole expression.