SELECTED_INT_KIND(R)

Purpose

Returns a value of the kind type parameter of an integer data type that represents all integer values n with -10R < n < 10R.

Class

Transformational function

Argument type and attributes

R
must be a scalar of type integer.

Result type and attributes

Default integer scalar.

Result value

Examples

SELECTED_INT_KIND (9) has the value 4, signifying that an INTEGER with kind type 4 can represent all values from 10-9 to 109.

Related information

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