Leonardus
Analogous LeoScript Operator xor

STACK

$ B\ B\ --\ B $
$ I\ I\ --\ I $

DESCRIPTION

Returns the logical “exclusive or” of the operands if they are boolean. If the operands
are integers, xor returns the bitwise “exclusive or” of their binary representations.

ORIGIN

Core code registered in systemdict.