This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/59987] New: [C++11]: Missing ios_base::hexfloat format specifier
- From: "npl at chello dot at" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 29 Jan 2014 17:42:46 +0000
- Subject: [Bug libstdc++/59987] New: [C++11]: Missing ios_base::hexfloat format specifier
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59987
Bug ID: 59987
Summary: [C++11]: Missing ios_base::hexfloat format specifier
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: npl at chello dot at
The specifier for hexadecimal floats is missing:
http://www.cplusplus.com/reference/ios/hexfloat/
I suppose the parsing of this format isnt working either (only tested this with
gcc 4.7, but there doesnt seem to be any changes).
stringstream instream("0x1.0624dd2f1a9fcp-10");
double val;
instream >> val; // should be 0.001