diff options
author | Paolo Carlini <pcarlini@unitus.it> | 2003-01-06 16:32:16 +0100 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2003-01-06 15:32:16 +0000 |
commit | 87117aa2f3b4674895fb40260fef88789febc490 (patch) | |
tree | 7a6edb9e5546ea45fea46f825c0ce925a1bea593 /gcc | |
parent | 8de6a6df286fe3e4cd06063fb6cfaf98b6c80e62 (diff) | |
download | gcc-87117aa2f3b4674895fb40260fef88789febc490.zip gcc-87117aa2f3b4674895fb40260fef88789febc490.tar.gz gcc-87117aa2f3b4674895fb40260fef88789febc490.tar.bz2 |
re PR libstdc++/9151 (std::setprecision limited to 16 digits when outputting a double to a stream)
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.
From-SVN: r60939
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions