re PR libstdc++/14220 ([3.5] num_put::do_put() undesired float/double behavior)
authorPaolo Carlini <pcarlini@suse.de>
Thu, 29 Jul 2004 22:11:04 +0000 (22:11 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 29 Jul 2004 22:11:04 +0000 (22:11 +0000)
commit7c9b102edeb552a4bb8de08c2287e86130259dc8
treee02b45d2e1a79d2ca32ec4f6fe9a9bd2199304bd
parent118a8d02ca08c146be991ac3a10fa7c3b7743168
re PR libstdc++/14220 ([3.5] num_put::do_put() undesired float/double behavior)

2004-07-29  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/14220
* include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
Don't clip the precision passed down to __convert_from_v:
22.2.2.2.2 nowhere says so.
* testsuite/22_locale/num_put/put/char/14220.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise.

From-SVN: r85315
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/testsuite/22_locale/num_put/put/char/14220.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/14220.cc [new file with mode: 0644]