INOT
INOT returns the logical NOT of x.
- x
- Expression. x must have a computational type.
If x is REAL FIXED BIN(p,0), the result is REAL FIXED BIN(p,0) and it is UNSIGNED if x is UNSIGNED. Otherwise, x is converted to SIGNED REAL FIXED BIN(p,0) and the result has the same attributes.
Although INOT(x) has the opposite sign of x, INOT(x) is not the same as -x.
Examples
inot(0) /* produces -1 */
inot(-1) /* produces 0 */
inot(+1) /* produces -2 */