Possible explaination why large_real_kind_form_io_2.f90 is failing on PPC/OSX

Dominique Dhumieres dominiq@lps.ens.fr
Sun Jan 14 20:15:00 GMT 2007


> The 33 digits shown in print* default  are sufficient to distinguish
> neighboring values for 128-bit IEEE format.  IEE754 specifically permits
> longer specified formats to display zeros for trailing digits beyond 
> that point.

I used 40 and 50 just because of laziness to be sure that I had enough.
What seems abnormal to me is that with 50 digits I still get 1.000...000
and not something different. This looks like a bug, either the
format does not work properly if supplied with too many digits or it
stops the translation after too feww digits to get something different
from 1 (the second case seems a good candidate to me, but I don't know
how to show it).

Dominique



More information about the Fortran mailing list