Skip to main content

Integer.bit_xor

bit_xorthat

Group: Bitwise

Documentation

Computes the bitwise exclusive or between this and that.

Bitwise exclusive or computes the exclusive or of the pairs of corresponding bits in the operands.

Arguments

  • that: The number to compute the bitwise exclusive or with.

Examples

Computing the bitwise exclusive or of 0b01101101 and 0b11110000.

      0b01101101.bit_xor 0b11110000