[PATCH v2] libstdc++: Add hexfloat/defaultfloat io manipulators.

Jonathan Wakely jwakely@redhat.com
Wed Oct 8 13:57:00 GMT 2014


On 08/10/14 12:37 +0100, Jonathan Wakely wrote:
>On 08/10/14 13:27 +0200, Rainer Orth wrote:
>>On Solaris 11 (both SPARC and x86), the test execution FAILs:
>>
>>Assertion failed: os && std::stod(os.str()) == d, file /vol/gcc/src/hg/trunk/local/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/hexfloat.cc, line 51, function test01
>>FAIL: 27_io/basic_ostream/inserters_arithmetic/char/hexfloat.cc execution test
>>
>>With -DTEST_NUMPUT_VERBOSE, I get
>>
>>got: 0x1.0000000000000p-1074
>
>Thanks, I'll look into that too.

I suspect this was the bug Andreas pointed out (which didn't show up
on x86_64-linux)  and so should be fixed now.



More information about the Libstdc++ mailing list