Home

or xor  

xorLogical or Bitwise Exclusive OR

The xor function returns the logical exclusive OR of two real numbers or the bitwise exclusive OR of two integers, as follows:

a b->c
#a #b->#c

A true result is represented by the real number one. A false result is represented by the real number zero.