8.295 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:
IShall be of type UNSIGNED.
KINDShall be a scalar constant expression of type INTEGER.
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