6.185 SELECTED_INT_KIND — Choose integer kind

Description:

SELECTED_INT_KIND(I) return the kind value of the smallest integer
type that can represent all values ranging from -10^I (exclusive)
to 10^I (exclusive). If there is no integer kind that accommodates
this range, SELECTED_INT_KIND returns -1.