9.91. DSHIFTR

9.91 DSHIFTR — Combined right shift

Description:

DSHIFTR(I, J, SHIFT) combines bits of I and J. The leftmost SHIFT bits of the result are the rightmost SHIFT bits of I, and the remaining bits are the leftmost bits of J.

Standard:

Fortran 2008 and later

Class:

Elemental function

Syntax:

RESULT = DSHIFTR(I, J, SHIFT)

Arguments:
I Shall be of type INTEGER or a BOZ constant.
J Shall be of type INTEGER or a BOZ constant. If both I and J have integer type, then they shall have the same kind