You copied the Doc URL to your clipboard.

Fortran 2008 functions

Fortran 2008-supported functions.

Fortran 2008 functions

Intrinsic

Description

Num. of Arguments

Argument Type

Result

ACOSH, ASINH, ``ATANH

Inverse hyperbolic trigonometric functions

1

REAL

REAL



BESSEL_J0


BESSEL_J1


BESSEL_JN



BESSEL_Y0


BESSEL_Y1


BESSEL_YN

Bessel function of:

the first kind of order 0.

the first kind of order 1.

the first kind.



the second kind of order 0.

the second kind of order 1.

the second kind.



1


1


2 or 3



1


1


2 or 3



REAL


REAL


{INTEGER, REAL,
or INTEGER},
INTEGER, REAL

REAL


REAL


{INTEGER, REAL, or INTEGER},
INTEGER, REAL


REAL


REAL


REAL



REAL


REAL


REAL

C_SIZEOF

Calculates the number of bytes of storage the expression A 'occupies'.

Syntax: C_SIZEOF(A)

1

Any

INTEGER

COMPILER _OPTIONS

Options passed to the compiler.

None

None

STRING

COMPILER _VERSION

Compiler version string.

None

None

CHARACTER

ERF

Error function.

1

REAL

REAL

ERFC

Complementary error function.

1

REAL

REAL

ERFC _SCALED

Exponentially- scaled complementary error function.

1

REAL

REAL

FINDLOC

Finds the location of a specified value in an array.

Syntax:

FINDLOC(ARRA Y, VALUE, DIM, MASK, KIND, BACK)

Or

FINDLOC(ARRA Y, VALUE, MASK , KIND, BACK)

3 to 6

ARRAY VALUE, DIM[, MASK, KIND, BACK],

Or

ARRAY, VALUE[, MASK, KIND, BACK]

INTEGER ARRAY

GAMMA

Computes Gamma of A. For positive, integer values of X.

1

REAL (not zero or negative)

REAL

LOG_GAMMA

Computes the natural logarithm of the absolute value of the Gamma function.

1

REAL (not zero or negative)

REAL

HYPOT

Euclidean distance function.

2

REAL, REAL

REAL

IS _CONTIGUOUS

Tests the contiguity of an array.

1

ARRAY

LOGICAL

LEADZ

Returns the number of leading zero bits of an integer.

1

INTEGER

INTEGER

POPCNT

Return the number of one bits.

1

INTEGER

INTEGER

POPPAR

Return the bitwise parity.

1

INTEGER

INTEGER

SELECTED_REAL_KIND

Kind type titlemeter in range.

Syntax:

SELECTED_REAL_KIND(P[, R, RADIX])

where P is precision and R is the range.

Note: Radix argument added for F2008.

1 2 3

INTEGER

INTEGER, INTEGER

INTEGER, INTEGER, INTEGER

INTEGER

INTEGER

INTEGER

STORAGE_SIZE

Storage size of argument A, in bits.

Syntax:

STORAGE_SIZE(A[, KIND])

1[, 2]

SCALAR or ARRAY[, INTEGER]

INTEGER

Was this page helpful? Yes No