BITAND

Synopsis
BITAND int1 int2
(BITAND int1 int2 int3 ...)
Description

Outputs the bitwise AND of its inputs, which must be integers. If no inputs are given, then BITAND outputs a value with all bits set.

Example
SHOW BITAND 5 2
0
SHOW BITAND 5 1
1
SHOW (BITAND 6 2 10)
2

SourceForge.net Logo