[Bug libfortran/48602] Invalid F conversion of G descriptor for values close to powers of 10
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Apr 17 12:40:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48602
--- Comment #16 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-04-17 12:39:25 UTC ---
I see another rounding issue with this:
integer, parameter :: RT=8
print *, 0.09_RT, " RD:"
print "(RD,G15.2)", 0.09_RT
print "(RD,E15.2)", 0.09_RT
print "(RD,D15.2)", 0.09_RT
print "(RD,F15.2)", 0.09_RT
end
Gives:
8.99999999999999967E-002 RD:
0.89E-01
0.90E-01
0.90D-01
0.08
I believe the E and D case should be 0.89E-01 and 0.89E-01
More information about the Gcc-bugs
mailing list