This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/68867] numeric formatting problem in the fortran library
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 12 Dec 2015 11:05:36 +0000
- Subject: [Bug libfortran/68867] numeric formatting problem in the fortran library
- Auto-submitted: auto-generated
- References: <bug-68867-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68867
--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Removing the comment gives:
>
> 3 39 0.999999999999999999999999999999996919E-0001
> In the test case, I need to adjust the line;
>
> if (astring(2:2) /= '9') then
>
> to:
>
> if (astring(3:3) /= '9') then
>
> since the previous patch corrected a missing leading zero on the formatting.
>
> I will do so tomorrow.
I doubt that will fix the problem: it seems related to to a rounding issue with
REAL(16). Which REAL(16) is used? "IBM" one or float_128?