UMASKL (The GNU Fortran Compiler)

### 8.297 `UMASKL` — Unsigned left justified mask ¶

Synopsis:

  `RESULT = UMASKL(I[, KIND])`

Description:

  `UMASKL(I[, KIND])` has its leftmost 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 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 unsigned kind.

Standard:

  Extension (see Unsigned integers)

See also:

  `MASKL` — Left justified mask,
  `MASKR` — Right justified mask,
  `UMASKR` — Unsigned right justified mask