ieor(3I)

IEOR, IIEOR, JIEOR, KIEOR - Performs an exclusive OR

As shipped in IRIX 6.5.22. Last changed in IRIX 6.5.19.

NAME
     IEOR, IIEOR, JIEOR, KIEOR - Performs an exclusive OR

SYNOPSIS
     IEOR ([I=]i, [J=]j)
     IIEOR ([I=]i, [J=]j)
     JIEOR ([I=]i, [J=]j)
     KIEOR ([I=]i, [J=]j)

STANDARDS
     Fortran 95

     IIEOR, JIEOR, and KIEOR are extensions to the FORTRAN 77 and Fortran
     95 standards.

DESCRIPTION
     The IEOR, IIEOR, JIEOR, and KIEOR intrinsic functions perform an
     exclusive OR.  They accept the following arguments:

     i    Must be of type integer.  For IIEOR, must be of type integer
          (KIND=2).  For JIEOR, must be of type integer (KIND=4).  For
          KIEOR, must be of type integer (KIND=8).

     j    Must be of type integer with the same kind type parameter as i

     These are elemental intrinsic functions for the MIPSpro Fortran 90
     compiler.  The names of these intrinsics cannot be passed as
     arguments.

RETURN VALUES
     The result type and type parameter are the same as i.  The result has
     the value obtained by combining i and j bit-by-bit according to the
     following truth table:

          -----------------

          i


              j

                  IEOR (i,
                     j)

          -----------------

          1
              1
                      0

          1
              0
                      1

          0
              1
                      1

          0
              0
                      0

          -----------------

     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
     IEOR(1, 3) has the value 2.

SEE ALSO
     MODELS(3I)