This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/17140] Floating point output is slow
- From: "jlquinn at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Dec 2004 19:19:31 -0000
- Subject: [Bug libstdc++/17140] Floating point output is slow
- References: <20040823040835.17140.jlquinn@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jlquinn at gcc dot gnu dot org 2004-12-21 19:19 -------
The power4 segfault occurs in frexpl() in libc, which is a result of calling
__builtin_frexpl() inside std::frexp(long double). I was wondering if it might
be a problem in long double representation. I think ppc uses 64 bit long
double, which made me think that it should be calling frexp under the covers
rather than frexpl.
I also created a simple test program for frexp that sems to work for double and
not for long double.
This is making me think the problem isn't in this patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17140