SELECTED_REAL_KIND(P, R)

Purpose

Returns a value of the kind type parameter of a real data type with decimal precision of at least P digits and a decimal exponent range of at least R.

Class

Transformational function

Argument type and attributes

P (optional)
must be scalar and of type integer.
R (optional)
must be scalar and of type integer.

Result type and attributes

Default integer scalar.

Result value

Examples

SELECTED_REAL_KIND (6, 70) has the value 8.

Related information

Kind type parameters supported by XL Fortran are defined in Type parameters and specifiers.