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
Showing
- libstdc++-v3/ChangeLog 9 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/bits/locale_facets.tcc 7 additions, 2 deletionslibstdc++-v3/include/bits/locale_facets.tcc
- libstdc++-v3/testsuite/27_io/ostream_inserter_arith.cc 21 additions, 1 deletionlibstdc++-v3/testsuite/27_io/ostream_inserter_arith.cc
Loading
Please register or sign in to comment