Clicky

Fortran Wiki
ior

Description

ior returns the bitwise Boolean inclusive-OR of i and j.

Standard

Fortran 95 and later

Class

Elemental function

Syntax

result = ior(i, j)

Arguments

  • i - The type shall be integer.
  • j - The type shall be integer, of the same kind as i.

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.)

See also

ieor, iand, ibits, ibset, ibclr, not

category: intrinsics