IAND(3f)

DESCRIPTION
Bitwise logical AND.

STANDARD
Fortran 95 and later

CLASS
Elemental function

SYNTAX
RESULT = IAND(I, J)

ARGUMENTS

I The type shall be INTEGER. J The type shall be INTEGER, of the same kind as I. (As a GNU extension, different kinds are also permitted.)

RETURN VALUE
The return type is INTEGER, of the same kind as the arguments. (If the argument kinds differ, it is of the same kind as the larger argument.)

EXAMPLE
          PROGRAM test_iand
            INTEGER :: a, b
            DATA a / Z'F' /, b / Z'3' /
            WRITE (*,*) IAND(a, b)
          END PROGRAM

SEE ALSO
IOR, IEOR, IBITS, IBSET, IBCLR, NOT

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).