This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Possible explaination why large_real_kind_form_io_2.f90 is failing on PPC/OSX
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: dominiq at lps dot ens dot fr, tprince at myrealbox dot com
- Cc: fortran at gcc dot gnu dot org
- Date: Sun, 14 Jan 2007 21:14:30 +0100 (CET)
- Subject: Re: Possible explaination why large_real_kind_form_io_2.f90 is failing on PPC/OSX
> 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