Function |
Description |
NOT |
Bitwise inversion of operand. This is generally used as a logical operator, but care should be taken when dealing with any values other than 0 (FALSE) and -1 (TRUE). (NOT 0 is -1 and NOT -1 is 0, but applying NOT to any other non-zero (i.e. TRUE) values just returns another non-zero (also TRUE) value, which can easily lead to confused logic. |
- |
Unary minus, arithmetically negates the value of the operand. |