12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Descriptions of the Library Routines 2BITPortability Function: Performs a bit-level test for integers.Module: USE IFPORTSyntaxresult = BIT (bitnum, source)bitnum(Input) INTEGER(4). Bit number to test. Must be in the range 0 (least significant bit) to 31 (mostsignificant bit).source(Input) INTEGER(4) or INTEGER(8). Variable being tested.Results:The result type is logical. It is .TRUE. if bit bitnum of source is 1; otherwise, .FALSE..CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS LIBSee Also: “BIC, BIS”BSEARCHQQPortability Function: Performs a binary search of a sorted one-dimensional array for a specifiedelement. The array elements cannot be derived types or structures.Module: USE IFPORTSyntaxresult = BSEARCHQQ (adrkey, adrarray, length, size)adrkey(Input) INTEGER(4) on IA-32 processors; INTEGER(8) on Intel Itanium processors. Address ofthe variable containing the element to be found (returned by LOC).adrarray(Input) INTEGER(4) on IA-32 processors; INTEGER(8) on Intel Itanium processors. Address ofthe array (returned by LOC).length(Input) INTEGER(4) on IA-32 processors; INTEGER(8) on Intel Itanium processors. Number ofelements in the array.2-21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!