[Bug libstdc++/59987] [C++11]: Missing ios_base::hexfloat format specifier

2014-09-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59987

Jonathan Wakely  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2014-09-19
   Assignee|unassigned at gcc dot gnu.org  |redi at gcc dot gnu.org
   Target Milestone|--- |5.0
 Ever confirmed|0   |1

--- Comment #1 from Jonathan Wakely  ---
There's a patch for this waiting to be applied.


[Bug libstdc++/59987] [C++11]: Missing ios_base::hexfloat format specifier

2014-10-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59987

--- Comment #2 from Jonathan Wakely  ---
Author: redi
Date: Mon Oct  6 15:55:53 2014
New Revision: 215952

URL: https://gcc.gnu.org/viewcvs?rev=215952&root=gcc&view=rev
Log:
2014-10-06  RĂ¼diger Sonderfeld  
Jonathan Wakely  

PR libstdc++/59987
* doc/xml/manual/status_cxx2011.xml: Remove hexfloat from notes.
* doc/html/manual/status.html: Regenerate.
* include/bits/ios_base.h (hexfloat): New function.
(defaultfloat): New function.
* src/c++98/locale_facets.cc (__num_base::_S_format_float): Support
hexadecimal floating point format.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/hexfloat.cc:
New file.

Added:
   
trunk/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/hexfloat.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/doc/html/manual/status.html
trunk/libstdc++-v3/doc/xml/manual/status_cxx2011.xml
trunk/libstdc++-v3/include/bits/ios_base.h
trunk/libstdc++-v3/src/c++98/locale_facets.cc

[Bug libstdc++/59987] [C++11]: Missing ios_base::hexfloat format specifier

2014-10-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59987

Jonathan Wakely  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Jonathan Wakely  ---
std::hexfloat and std::defaultfloat support is committed now.

Parsing hexadecimal floats is not supported in C++, that is a known issue, see
http://cplusplus.github.io/LWG/lwg-active.html#2381