bxor


bxor(a, b)
      

Return the bitwise exclusive or of the integers a and b.

The inputs are treated as if represented in two's complement, even if they are not represented that way internally.

Examples:


bxor(5, 3)
// 6
bxor(2, 10)
// 8
      

Also see:

bnot
band
bior


Core Module Index | Contents