This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20124] New: gfortran prints -.01 incorrectly
- From: "dir at lanl dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Feb 2005 19:15:57 -0000
- Subject: [Bug fortran/20124] New: gfortran prints -.01 incorrectly
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Actually + and - .01 print as zero -
[dir:~/tests/gfortran] dir% gfortran -o print01 print01.f
[dir:~/tests/gfortran] dir% print01
0.00 0.00
STOP 0
[dir:~/tests/gfortran] dir% cat print01.f
program main
x=-.01
y=.01
write(6,1000)x,y
stop
1000 format (2f10.2)
end
--
Summary: gfortran prints -.01 incorrectly
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dir at lanl dot gov
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: powerpc-apple-darwin7.8.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20124