Clicky

Fortran Wiki
iand (Rev #2, changes)

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

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

Description

Bitwise logical and.

Standard

(削除) Fortran 95 and later (削除ここまで)(追記) Fortran 95 (追記ここまで)(追記) and later (追記ここまで)

Class

(削除) Elemental function (削除ここまで)(追記) Elemental function (追記ここまで)

Syntax

result = iand(i, j)

Arguments

  • i - The type shall be integer.
  • j - The type shall be integer, of the same kind as i.

Return value

The return type is integer, of the same kind as the arguments. (If the argument kinds differ, it is of the same kind as the larger argument.)

Example

program test_iand
 integer :: a, b
 data a / z'f' /, b / z'3' /
 write (*,*) iand(a, b)
end program

See also

ior, ibits, ibset, ibclr, not

category: (削除) Intrinsics (削除ここまで)(追記) intrinsics (追記ここまで)

Revision from April 30, 2009 22:48:18 by Jason Blevins
Forward in time (to current) | Back in time (1 more) | See current | Hide changes | History | Rollback | View: Source | Linked from: Intrinsic procedures, btest, ibclr, ibits, ibset, ior, mvbits, not, ieor, iall

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