UMASKR (The GNU Fortran Compiler) (original) (raw)


8.285 UMASKR — Unsigned right justified mask

Synopsis:

RESULT = MASKR(I[, KIND])

Description:

UMASKL(I[, KIND]) has its rightmost I bits set to 1, and the remaining bits set to 0.

Class:

Elemental function

Arguments:

I Shall be of type UNSIGNED.
KIND Shall be a scalar constant expression of typeINTEGER.

Return value:

The return value is of type UNSIGNED. If KIND is present, it specifies the kind value of the return type; otherwise, it is of the default integer kind.

Standard:

Extension (see Unsigned integers)

See also:

MASKL — Left justified mask,
MASKR — Right justified mask,
UMASKL — Unsigned left justified mask