maskr(i[, kind]) has its rightmost
i bits set to 1, and the remaining bits set to 0.
Fortran 2008 and later
`result = maskr(i[, kind])
i- Shall be of type
kind- Shall be a scalar constant expression of type
The return value is of type
kind is present, it specifies the kind value of the return type; otherwise, it is of the default integer kind.