[Bug libstdc++/17140] Floating point output is slow

jlquinn at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 3 22:05:00 GMT 2005


------- Additional Comments From jlquinn at gcc dot gnu dot org  2005-01-03 22:05 -------
(In reply to comment #39)
> seems wrong in the testcase, not in fpfinal5.patch. While a I dig a little
> deeper on these issues (and do complete tests on ia64 too), maybe Jerry, you
> can try to fix lfptest: it would be nice to actually run it to success on the
> 64-bit machines too... The backtrace is as follows:
> And, if I print fd.d inside gdb just before the segfault:
> (gdb) p fd.d
> $1 = <invalid float value>

Hmm, I remember that I had to fiddle with the long double values to make them
work on x86.  Not all random bitstrings are valid x86 long doubles.  This test
isn't the most portable, since I generate values by creating random longs and
stitching them together.

I'll have to look up the format for ia64 long double, but we may end up going
back and forth a couple of times to get it right.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17140



More information about the Gcc-bugs mailing list