[Bug fortran/37863] Display of a value close to 1 shows 2
domob at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 17 15:43:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list