Am 26.11.20 um 19:05 schrieb Maciej W. Rozycki:
What do you need this information for anyway?
It's a check if the simplification to constants of these floating point types is done correctly. Another interesting thing to look at would be selected_real_kind. selected_real_kind(precision, range) will give you the kind number of a real type with at least precision digits and a range from 10**-range to 10**range, or -1 if there is nothing that matches. There should be a runtime version and a compile-time version, both of which should be correct :-) Regards Thomas