Softerra LDAP Administrator Help | Show AllHide All |
Takes two numbers as operands and does AND on every bit of two numbers. The result of AND is 1 only if both bits are 1.
The following example shows the results of using bitwise AND operation between 58 and 198.
BITWISE_ADD (58, 198) 0011 1010 1100 0110 ---- ---- 0000 0010
The binary representation of 58 is 0011 1010. The binary representation of 198 is 1100 0110. Performing the bitwise AND operation on these two values produces the binary result 0000 0010, which is decimal 2.