Scalar. Returns the value of an expression with all bits inverted.
bitnot ( expression )
expression | An integer or a long. |
Returns the value of an expression after the bitwise operation is performed. Bits that were 0 become 1, and vice versa. The function returns the same datatype as the argument.
bitnot (7) returns -8, or in binary, bitnot (111) returns 11111111111111111111111111111000. The user cannot specify binary directly.