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

+-------------------------------IBM Extension--------------------------------+

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.

+----------------------------End of IBM Extension----------------------------+

Related Information

Kind type parameters supported by XL Fortran are defined in Type Parameters and Specifiers. IBM Copyright 2003