Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6627: nonfinite_num_put formatting of 0.0 is incorrect
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-08 19:16:40
#6627: nonfinite_num_put formatting of 0.0 is incorrect
------------------------------------------+---------------------------------
Reporter: krwalker@⦠| Owner: pbristow
Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------+---------------------------------
Comment (by pbristow):
Replying to [comment:7 pbristow]:
I have now written a much larger collection of tests (though there are an
almost infinite number of possible combinations of ostream options like
precision, width, letf right, internal, showpos showpoint :-(
And committed a revised version (using code from KR Walker) that passes on
MSVC 10 these tests with the signed_zero flag set (and also handles inf
and nan as before).
I am not entirely convinced that there is really a need for a signed_zero
flag at all.
Are there really any platforms/libraries still out there that do not
output negative zero correctly as -0?
Feedback welcome.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6627#comment:8> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC