This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]