Bitwise AND

bitand expression1 expression2
(bitand expression1 expression2 expression3 ...)
expression1 & expression2

Bitwise AND of integer values of expressions at the instruction's input.

Example:

print bitand 8 7
print bitand 9 7

Output:

0
1

See also:

&= - "in place" bitwise AND

Table of Content