Clicky

Fortran Wiki
ibset (changes)

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

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

Description

ibset returns the value of i with the bit at position pos set to one.

Standard

Fortran 95 and later

Class

Elemental function

Syntax

result = ibset(i, pos)

Arguments

  • i - The type shall be integer.
  • pos - The type shall be integer.

Return value

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

See also

(追記) btest (追記ここまで)(追記) , (追記ここまで)ibclr, ibits, iand, ior, ieor, mvbits

category: intrinsics

Revised on August 29, 2010 19:58:59 by Jason Blevins (174.101.53.244) (510 characters / 0.0 pages)
Edit | Back in time (3 revisions) | Hide changes | History | Views: Print | TeX | Source | Linked from: Intrinsic procedures, btest, iand, ibclr, ibits, ior, mvbits, not, ieor

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