This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/48341] LDBL_EPSILON is wrong on IRIX 6.5
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Mar 2011 15:17:28 +0000
- Subject: [Bug c/48341] LDBL_EPSILON is wrong on IRIX 6.5
- Auto-submitted: auto-generated
- References: <bug-48341-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48341
--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-03-30 15:16:57 UTC ---
> Why do you think this is bogus? It's correct for IBM long double, where
> the mantissa bits can be discontiguous, and so the least value greater
> than 1 that is representable has such discontiguous bits. See PR 19405
> and <http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00374.html>.
But why do both that exact testcase and the libstdc++ one fail with this
LDFL_EPSILON value on IRIX, and disagree with both the one from the
system headers, which is identical to the one found in the
gcc.target/powerpc/rs6000-ldouble-2.c test?
Rainer