Re: [Boost-bugs] [Boost C++ Libraries] #12527: cpp_bin_float: Anal fixation. Part 3. Double rounding when result of convert_to<double>() is a subnormal

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12527: cpp_bin_float: Anal fixation. Part 3. Double rounding when result of convert_to<double>() is a subnormal
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-11-12 19:06:26


#12527: cpp_bin_float: Anal fixation. Part 3. Double rounding when result of
convert_to<double>() is a subnormal
-------------------------------+----------------------------
  Reporter: Michael Shatz | Owner: johnmaddock
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: multiprecision
   Version: Boost 1.62.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------------

Comment (by Michael Shatz):

 Replying to [comment:10 johnmaddock]:
> I've updated the core rounding code to work at arbitrary locations, and
 changed the conversion code to make use of it. So hopefully, this time
 fixe din
 https://github.com/boostorg/multiprecision/commit/0006227416f0107693fcce4d8c15d127dc51e437


 So far i see one bug: numbers in range (-INF..-DBL_MAX] are converted to
 +inf instead of -inf.

 Also one defect: new version is almost twice slower than the previous
 version, which by itself was pretty slow, considering a simplicity of the
 function.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12527#comment:11>
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:20 UTC