This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/36200] New: [mingw] Wrong rounding in floating-point I/O
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 May 2008 19:18:21 -0000
- Subject: [Bug libfortran/36200] New: [mingw] Wrong rounding in floating-point I/O
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following short testcase (reduced from gfortran.dg/fmt_zero_precision.f90):
write(*,200) 37.99999
200 format(es8.0,"<")
end
ouputs " 3.E+01<" instead of " 4.E+01<". This happens on both i686-pc-mingw32
and x86_64-pc-mingw32.
--
Summary: [mingw] Wrong rounding in floating-point I/O
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36200