Re: [Boost-bugs] [Boost C++ Libraries] #10085: Improve cpp_rational::convert_to<double>

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10085: Improve cpp_rational::convert_to<double>
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-28 16:15:25


#10085: Improve cpp_rational::convert_to<double>
-------------------------------+----------------------------
  Reporter: marc.glisse@… | Owner: johnmaddock
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: multiprecision
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------------

Comment (by johnmaddock):

 This should be mostly fixed in this feature branch:
 https://github.com/boostorg/multiprecision/tree/Issue_10085

 Conversions to and from native floating point types and multiprecision
 ones are supported, conversions to float from rational should be exactly
 rounded (less than 0.5ulp error) as long as the floating point type is
 binary and the integer type used by the rational is unbounded.

 I plan to do some more testing, and possibly fix some other rational-
 related issues that have been nagging at me before merging to develop, so
 it's unlikely at present that this makes 1.56... though you never know.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10085#comment:3>
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