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++/19642] streaming doubles is very slow compared to sprintf


------- Additional Comments From pcarlini at suse dot de  2005-01-27 15:59 -------
Excellent. Can you please check whether on AIX this is ok ("de_DE" is just
an example, any actually installed named locale should do):

#include <locale.h>
#include <string.h>
#include <assert.h>

int main()
{
  char* save = setlocale(LC_ALL, "de_DE");
  assert( !save || !strcmp(setlocale(LC_NUMERIC, NULL), "de_DE"));

  return 0;
}

???

In short, we should make sure that any change to LC_ALL is reflected to
LC_NUMERIC. I have checked that this is the case with glibc and also
FreeBSD but we should check all the supported OSes. Thanks again!

-- 


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


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