[Bug fortran/37472] bad output on default-format write of double in common block with -m64 flag i
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 11 14:29:00 GMT 2008
------- Comment #4 from burnus at gcc dot gnu dot org 2008-09-11 14:27 -------
Jerry, do you know why gfortran 4.3/4.4 prints one trailing zero more for 1000
than for other numbers? 4.2 used the same number of trailing digits.
1000.00000
1001.0000
for
print *, 1000.0
print *, 1001.0
end
If one uses 0.2 more, one gets the expected
1000.2000
1001.2000
And for 100.0 it is off by one again.
(Maybe you have also an idea about the problem in comment 0.)
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jvdelisle at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37472
More information about the Gcc-bugs
mailing list