This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH v2] libstdc++: Add hexfloat/defaultfloat io manipulators.
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Jonathan Wakely <jwakely at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Wed, 08 Oct 2014 16:21:55 +0200
- Subject: Re: [PATCH v2] libstdc++: Add hexfloat/defaultfloat io manipulators.
- Authentication-results: sourceware.org; auth=none
- References: <20140327133723 dot GA13599 at redhat dot com> <1901588 dot qodTErPe42 at descartes> <20140327162714 dot GA13192 at redhat dot com> <CAFW6PZC0u5=i-KqQZZsbkmg5iWr6u2WVnnBQVqG8V2Bt6oOzOg at mail dot gmail dot com> <20141006155615 dot GN4197 at redhat dot com> <yddlhoq3ior dot fsf at lokon dot CeBiTec dot Uni-Bielefeld dot DE> <20141008113726 dot GW4197 at redhat dot com> <20141008135712 dot GY4197 at redhat dot com>
Jonathan Wakely <jwakely@redhat.com> writes:
> 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.
I'd already tried that patch before you committed it, and unfortunately
it didn't help.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University