Subject: [Boost-bugs] [Boost C++ Libraries] #12198: cpp_bin_float addition/subtraction produces wrong result when the difference of exponents of arguments overflows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-05-12 21:16:26
#12198: cpp_bin_float addition/subtraction produces wrong result when the
difference of exponents of arguments overflows
------------------------------+----------------------------
Reporter: Michael Shatz | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: multiprecision
Version: Boost 1.61.0 | Severity: Problem
Keywords: |
------------------------------+----------------------------
If the difference of exponents of two cpp_bin_float does not fit in
specified exponent_type then addition and subtraction
operations return the operand with smaller exponent instead of operand
with bigger exponent.
Platform: Mingw, gcc 5.3.0, x64. All optimization levels.
Library version: both 1.60.0 and the newest files from github
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12198> 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