Unary bitwise inverse
The unary bitwise not operator produces a result by computing the bitwise complement or inverse of its right operand, which must be an expression of type integer. For each bit in the operand's value, the corresponding bit in the result value is set to 1 if the operand's bit value is 0 and 0 if the operand's bit value is 1.
Example
The following illustrates this using 64-bit binary values.
b := 42; 0000000000000000000000000000000000000000000000000000000000101010
not b 1111111111111111111111111111111111111111111111111111111111010101