OSDN Git Service

2003-01-06 Paolo Carlini <pcarlini@unitus.it>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Jan 2003 15:32:16 +0000 (15:32 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Jan 2003 15:32:16 +0000 (15:32 +0000)
commit1efff400b24ea723542836ac1e0e7d9f3c51b861
tree7a6edb9e5546ea45fea46f825c0ce925a1bea593
parent6e1fc5eec0bf72ed5f49fcf3d61e14ca5e40c20b
2003-01-06  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9151
* include/bits/locale_facets.cc (num_put::_M_convert_float):
Limit __prec to digits10 + 2, not digits10 + 1, taking into
account the possibility of %{g,G} conversion specifiers
inside _S_format_float.
* testsuite/27_io/ostream_inserter_arith.cc (test06): Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60939 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/testsuite/27_io/ostream_inserter_arith.cc