This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- Additional Comments From jlquinn at gcc dot gnu dot org  2004-12-16 04:43 -------
I finally got some free time again.  The fmttest1 failure is due to showpoint
handling.  Specifically, there's the following hunk in float_to_char_scientific:

      // Insert digits after decimal point
      for (;__prec && *__bp; __prec--)
	*__sbuf++ = __digits[*__bp++ - '0'];
      if (__pad)
	while (__prec--)
	  *__sbuf++ = __digits[0];

That if test should be if (__pad || __showpoint).  I'm still having some trouble
building.  When I get that sorted out, I'll update the patch with this change.

I don't know what's broken w/ 64 bit, though, and still don't really have 64 bit
access.

-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]