A | B | A xor B --+---+-------- F | F | F F | T | T T | F | T T | T | F
The output is thus true if the inputs are not equal. If one input is false, the other is passed unchanged whereas if one input is true, the other is inverted.
In Boolean algebra, exclusive or is often written as a plus in a circle: "⊕". The circle may be omitted suggesting addition modulo two.
(01 Nov 2006)
|Bookmark with:||word visualiser||Go and visit our forums|