Next: , Previous: , Up: Internal Routines   [Contents][Index]

15.5.809 xor

x xor y

Logical binary xor operator. x xor y combines the bits of integers x and y such that any bit in the result is set (i.e., equal to 1) if the corresponding bits of either x or y but not both are set.

See also: and, or