# Bitwise Logical Operations

These routines treat numbers as collections of binary bits, and logical operations are performed on corresponding bits in the binary representation of the numbers. The << and >> operators can be used for shifting bits left or right respectively.

perform logical AND on corresponding bits
perform logical OR on corresponding bits
perform logical XOR on corresponding bits
perform logical NOT on all bits
perform or_bits on all elements of a sequence
create a human readable string for a bit field.