Clicky

Fortran Wiki
ishftc

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

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

Revised on April 30, 2009 22:49:55 by Jason Blevins (71.70.142.190) (999 characters / 0.0 pages)
Edit | Back in time (1 revision) | See changes | History | Views: Print | TeX | Source | Linked from: Intrinsic procedures, ishft

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