Failure of default_format_1.f90

Dominique Dhumieres dominiq@lps.ens.fr
Wed Oct 3 20:34:00 GMT 2007


> 2.22507385850710652E-308
>                 ^^^
> There are garbage.

For "normal" floating point numbers (real(16)), although
precision(1.d0)=15, you need 17 digits to be able to distinguish
consecutive numbers. For denormalized ones, you probably need
less, but unless you follow the strategy of g95 which outputs only
the number of digits necessary to have a unique ouput for any FP,
you are left with the default value.

For the problem with default_format_1.f90, see my comment to PR33469.


Dominique



More information about the Fortran mailing list