This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / Numerical Computation / Number Representation /

BitXor

FilledSmallSquare BitXor[, , ... ] gives the bitwise XOR of the integers .

FilledSmallSquare Integer mathematical function (see Section A.3.10).

FilledSmallSquare BitXor[, , ... ] yields the integer whose binary bit representation has ones at positions where an odd number of the binary bit representations of the have ones.

FilledSmallSquare For negative integers BitXor assumes a two's complement representation.

FilledSmallSquare See Section 3.2.4.

FilledSmallSquare See also: BitAnd, BitOr, BitNot, Xor, IntegerDigits, CellularAutomaton.

FilledSmallSquare New in Version 4.

Further Examples