Softerra LDAP Administrator HelpShow AllHide All

BITWISE_NOT

Takes one number and inverts all bits of it.

Syntax

BITWISE_NOT (expression)

Arguments

expression - expression of a numeric data type.

Examples

The following example shows the results of using bitwise NOT operation on 58.

BITWISE_NOT (58)

0011 1010
---- ----
1100 0101

The binary representation of 58 is 0011 1010. Performing the bitwise NOT operation on this value produces the binary result 1100 0101, which is decimal 197.