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

npl at chello dot at gcc-bugzilla@gcc.gnu.org
Wed Jan 29 17:42:00 GMT 2014


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



More information about the Gcc-bugs mailing list