Skip to main content

Integer.bit_and

bit_andthat

Group: Bitwise

Documentation​

Computes the bitwise and (conjunction) operation between this and that.

Bitwise and computes the logical conjunction of the corresponding pairs of bits in the operands.

Arguments​

  • that: The number to compute the bitwise conjunction with.

Examples​

Computing the bitwise conjunction of 0b01101101 and 0b11110000.​

      0b01101101.bit_and 0b11110000