XOR

Member Of Menu: 
Binary
Test
Argument Types: 
Real
Integer
Symbol
Expression
Result Type(s): 
Real
Integer
Expression
Invertible: 
No
Valid In Expression: 
Yes
Stack Diagram: 
Real1 Real2 Real3
Integer1 Integer2 Integer3
Symbol1 Symbol2 Expression3
Expression1 Expression2 Expression3

This operation performs a binary xor operation on its two integer arguments and returns the integer result. If the input arguments are real values, it returns a 1 if only one of the two arguments is a 0, otherwise it returns 0.

Note that when used in an expression on symbols x and y for example, it would look like 'x XOR y'.