Purpose
Calculates the bitwise NOT of a FIXED BINARY value.
Parameters
x is an expression.
x must have a computational type.
Examples
Specify INOT with its expression as shown in these examples.
inot(0) /* returns -1 */
inot(-1) /* returns 0 */
inot(+1) /* returns -2 */
Description
If x is of type FIXED BIN, then the result is FIXED BIN. The result is of type FIXED BIN, with the precision being the maximum of it arguments.
Although INOT(x) has the opposite sign of x, INOT(x) is not the same as -x.