[Bug fortran/56026] New: Erroneous behaviour of E and ES format descriptor for large numbers
xarthisius.kk at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jan 18 10:09:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56026
Bug #: 56026
Summary: Erroneous behaviour of E and ES format descriptor for
large numbers
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: xarthisius.kk@gmail.com
For 3 digit exponent 'E' is lost:
$ cat bug.f90
print *, HUGE(1.0d0)
print '(ES18.7)', HUGE(1.0d0)
print '(E18.10)', HUGE(1.0d0)
end
$ ./a.out
1.7976931348623157E+308
1.7976931+308
0.1797693135+309
More information about the Gcc-bugs
mailing list