[Bug libstdc++/39168] Incorrect interpretation of CHAR_MAX inside grouping string in monetary and numeric facets.
paolo dot carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Fri Feb 13 15:11:00 GMT 2009
------- Comment #13 from paolo dot carlini at oracle dot com 2009-02-13 15:11 -------
(In reply to comment #12)
> Could you suggest which grouping string should be used to do such number
> representation? Or is this unachievable?
Actually \003\176 seems perfectly practical to me. In particular considering
the actual size of real numbers.
> I investigated locale support in POSIX, such number representation is achieved
> there with "\003\177". It seems strange for me that similar mechanism is not
> work with C++ locales.
POSIX seems a good point, probably you should have mentioned it much earlier.
Let's hear Martin again, then. Certainly, however, I'm concerned about having a
behavior different from all the other implementations mentioned by Martin.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39168
More information about the Gcc-bugs
mailing list