Wolfram Language & System 10.0 (2014)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

BitXor

BitXor[n1,n2,]
gives the bitwise XOR of the integers .

DetailsDetails

  • Integer mathematical function, suitable for both symbolic and numerical manipulation.
  • BitXor[n1,n2,] yields the integer whose binary bit representation has ones at positions where an odd number of the binary bit representations of the have ones.
  • For negative integers BitXor assumes a two's complement representation.
  • BitXor automatically threads over lists.
Introduced in 1999
(4.0)