Subject: [Boost-bugs] [Boost C++ Libraries] #12580: cpp_bin_float: Bad rounding in corner case of subtraction
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-11-04 00:41:46
#12580: cpp_bin_float: Bad rounding in corner case of subtraction
------------------------------+----------------------------
Reporter: Michael Shatz | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: multiprecision
Version: Boost 1.62.0 | Severity: Problem
Keywords: |
------------------------------+----------------------------
Subtraction produces incorrectly rounded result when a small number in
range (ULP*0.5..ULP*1.0) subtracted from integer power of 2.
The correct answer should be (original number - ULP), but boost returns
unmodified original number.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12580> 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