HP Fortran Programmer's Reference (September 2007)

Intrinsic procedures
Intrinsic procedure specifications
Chapter 11562
Result value
If X > Y, IDIM(X, Y) is X-Y. If X <= Y, IDIM(X, Y) is zero.
Specific forms
IIDIM,JIDIM. KIDIM.
IEOR(I, J)
Description
Performs a bitwise exclusive OR.
Class
Elemental function.
Arguments
I must be of type integer.
J must be of type integer with the same kind type parameter as I.
Result type/
type parameters
Same as I.
Result value
The result has the value obtained by combining I and J bit-by-bit according to Table 11-7.
Table 11-7 Truth table for IEOR intrinsic
I J IEOR(I, J)
11 0
10 1
01 1
00 0