Clicky
Showing changes from revision #1 to #2:
(追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)
ishft
returns a value corresponding to i
with all of the bits shifted shift
places. A value of shift
greater than zero corresponds to a left shift, a value of zero corresponds to no shift, and a value less than zero corresponds to a right shift. If the absolute value of shift
is greater than bit_size(i)
, the value is undefined. Bits shifted out from the left end or right end are lost; zeros are shifted in from the opposite end.
(削除) Fortran 95 and later (削除ここまで)(追記) Fortran 95 (追記ここまで)(追記) and later (追記ここまで)
(削除) Elemental function (削除ここまで)(追記) Elemental function (追記ここまで)
result = ishft(i, shift)
i
- The type shall be integer
.shift
- The type shall be integer
.The return value is of type integer
and of the same kind as i
.