Clicky

Fortran Wiki
ishftc (Rev #1, changes)

Skip the Navigation Links | Home Page | All Pages | Recently Revised | Authors | Feeds | Export |

Showing changes from revision #0 to #1: (追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)

Description

ishftc returns a value corresponding to i with the rightmost size bits shifted circularly shift places; that is, bits shifted out one end are shifted into the opposite end. 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. The absolute value of shift must be less than size. If the size argument is omitted, it is taken to be equivalent to bit_size(i).

Standard

Fortran 95 and later

Class

Elemental function

Syntax

result = ishftc(i, shift [, size])

Arguments

  • i - The type shall be integer.
  • shift - The type shall be integer.
  • size - (Optional) The type shall be integer; the value must be greater than zero and less than or equal to bit_size(i).

Return value

The return value is of type integer and of the same kind as i.

See also

ishft

category: Intrinsics

Revision from April 26, 2009 18:59:54 by Jason Blevins
Forward in time (to current) | See current | History | Rollback | View: Source | Linked from: Intrinsic procedures, ishft

AltStyle によって変換されたページ (->オリジナル) /