This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/33469] Default formats for real input are not precise enough
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Oct 2007 08:29:14 -0000
- Subject: [Bug libfortran/33469] Default formats for real input are not precise enough
- References: <bug-33469-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from dominiq at lps dot ens dot fr 2007-10-02 08:29 -------
Subject: Re: Default formats for real input are not
precise enough
> Part of it is simply a libc bug. There are numbers close to 1.0 and -1.0 that
> the darwin libc can't output properly:
Nice catch! The problem affects the vicinity of all the powers of 2, try
1.99999999999999998_16, 3.99999999999999998_16, ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33469