This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37863] Display of a value close to 1 shows 2
- From: "domob at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2008 15:42:22 -0000
- Subject: [Bug fortran/37863] Display of a value close to 1 shows 2
- References: <bug-37863-16844@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from domob at gcc dot gnu dot org 2008-10-17 15:42 -------
Confirmed on trunk, with this test:
program pb
write(*,'(F3.0)') 1.0d0 - 1.110223024625157D-16
end
Changing decimals display to a value larger than 0 outputs 1 correctly.
--
domob at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |domob at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-10-17 15:42:22
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37863