SELECTED_INT_KIND intrinsic function
Standard: F77 F90 F95 F2003 F2008
<Syntax>
SELECTED_INT_KIND ( R )
R : scalar Integer;
Result : scalar Integer with default kind.
<Semantics>
The SELECTED_INT_KIND intrinsic function returns the kind number for an Integer type that has a decimal exponent range of at least R; that is, it can represent all the values v such that −10**R ≤ v ≤ 10**R.
If more than one kind satisfies the condition, the one with the smallest range is returned.
If no kind satisfies the condition, the value −1 is returned.