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
An INTENT(IN) INTEGER

Result type and attributes

Default integer scalar.

Result value

Examples

IBM extension begins 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. IBM extension ends

Related information

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