Description: | Returns the logical complement of the argument. | ||
Class: | Elemental function; Generic | ||
Arguments: | I must be of type integer. | ||
Results: | The
result type is the same as I. The result value is obtained by
complementing I bit-by-bit according to the following truth table:
The model for the interpretation of an integer value as a sequence
of bits is shown in Section D.3. |
Specific Name | Argument Type | Result Type |
---|---|---|
INTEGER(1) | INTEGER(1) | |
INOT | INTEGER(2) | INTEGER(2) |
JNOT | INTEGER(4) | INTEGER(4) |
KNOT | INTEGER(8) | INTEGER(8) |
Examples
If I has a value equal to 10101010 (base 2), NOT (I) has the value 01010101 (base 2).