Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10103: setprecision(0) does displays too many digits of a float128
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-07 15:38:03
#10103: setprecision(0) does displays too many digits of a float128
-----------------------------------------+----------------------------
Reporter: Charles Karney <charles@â¦> | Owner: johnmaddock
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: multiprecision
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords: printing
-----------------------------------------+----------------------------
Changes (by johnmaddock):
* status: new => assigned
Comment:
This is indeed a bug, but I don't know how to fix it without breaking
existing code: we've used a precision of 0 to mean "as many digits as
you've got", and this is pervasive/consistent throughout the library. I
guess we should have used -1 as the "special" value, but it's too late
now...
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10103#comment:1> 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:16 UTC