XL Fortran for AIX 8.1

Language Reference


NOT(I)

Performs a logical complement.

I
must be of type integer.

Class

Elemental function

Result Type and Attributes

Same as I.

Result Value

The result has the value obtained by complementing I bit-by-bit according to the following table:

I NOT (I)
---------
1    0
0    1

The bits are numbered 0 to BIT_SIZE(I)-1, from right to left.


Specific Name Argument Type Result Type Pass As Arg?
NOT any integer same as argument yes(1)

Notes:

  1. IBM Extension.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]