NOT(3I) Last changed: 1-6-98
NAMENOT - Performs a logical complement
SYNOPSISNOT ([I=]i)
IMPLEMENTATION
UNICOS, UNICOS/mk, and IRIX systems
STANDARDS
Fortran 90
DESCRIPTION
The NOT intrinsic function performs a logical complement. It accepts
the following argument:
i Must be of type integer
NOT is an elemental function. The name of this intrinsic cannot be
passed as an argument.
RETURN VALUES
The result type and type parameter are the same as i. The result has
the value obtained by complementing i bit-by-bit according to the
following truth table:
i NOT (i)
1 0
0 1
The bit model defines the interpretation of an integer value as a
sequence of bits. For more information on the bit model, see the
MODELS(3I) man page.
EXAMPLES
If I is represented by the string of bits 01010101, NOT(I) has the
binary value 10101010.
SEE ALSOMODELS(3I)
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.