Bitwise AND. It takes two or more numeric operands.
Operator &
is a shortcut for this function.
Bitwise NOT. It takes one numeric operand.
It returns the bit-by-bit negated value of its operand.
Prefix operator ~
is a shortcut for this function.
Bitwise OR. It takes two or more numeric operands.
Operator |
is a shortcut for this function.
Bitwise shift left. It takes two numeric operands.
Shifts the first operand left with the number of bits
specified by the second operand.
The operand <<
is a shortcut for this function.
Bitwise shift right. It takes two numeric operands.
Shifts the first operand right with the number of bits
specified by the second operand.
The operand >>
is a shortcut for this function.
Bitwise exclusive OR. It takes two or more numeric operands.