5 possible_kinds
="4 8 10 16"
8 for k
in $possible_kinds; do
9 echo " real (kind=$k) :: x" > tmp$$.f90
10 echo " end" >> tmp$$.f90
11 if $compile -S tmp$$.f90
> /dev
/null
2>&1; then
18 echo " integer, parameter :: c = $c"
19 echo " type (real_info), parameter :: real_infos(c) = (/ &"
23 # echo -n is not portable
24 str
=" real_info ($k, precision(0.0_$k), range(0.0_$k))"
26 if [ $i -lt $c ]; then