2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
18 .. index:: bits, negate
20 .. index:: bitwise logical not
22 .. index:: logical not, bitwise
24 NOT --- Logical negation
25 ************************
29 ``NOT`` returns the bitwise Boolean inverse of :samp:`{I}`.
32 The type shall be ``INTEGER``.
35 The return type is ``INTEGER``, of the same kind as the
39 Fortran 90 and later, has overloads that are GNU extensions
45 .. code-block:: fortran
61 - Fortran 95 and later