IEOR intrinsic function

Standard: F77 F90 F95 F2003 F2008 F2018 Example program


<Syntax>

IEOR ( I, J )

I : Integer or boz-literal-constant;
J : Integer or boz-literal-constant, conformable with I, if I and J are both Integer, same kind as I;

Result : Integer, same kind as I or J (whichever one is Integer).

At least one of I and J must be Integer.

<Semantics>

The value of the result is the bitwise exclusive or of I and J; each bit in the result is 1 if and only if exactly one of the corresponding bits of I and J is 1. This is an elemental function; if any argument is an array the result is an array of the same shape, with the IEOR operation being applied elementwise.

<Related>

IAND intrinsic function, IOR intrinsic function, IPARITY intrinsic function, ISHFT intrinsic function, ISHFTC intrinsic function, LEADZ intrinsic function, MASKL intrinsic function, MASKR intrinsic function, NOT intrinsic function, SHIFTA intrinsic function, SHIFTL intrinsic function, SHIFTR intrinsic function, TRAILZ intrinsic function