Re: [Boost-bugs] [Boost C++ Libraries] #8809: pow(cpp_dec_float_type(-1), cpp_dec_float_type(n)) != (+-)1 for n >= 0x8000000000000000u

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8809: pow(cpp_dec_float_type(-1), cpp_dec_float_type(n)) != (+-)1 for n >= 0x8000000000000000u
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-12 16:13:36


#8809: pow(cpp_dec_float_type(-1), cpp_dec_float_type(n)) != (+-)1 for n >=
0x8000000000000000u
--------------------------------------+----------------------------
  Reporter: Jan Bouwer <JBouwer@…> | Owner: johnmaddock
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: multiprecision
   Version: Boost Development Trunk | Severity: Problem
Resolution: fixed | Keywords:
--------------------------------------+----------------------------
Changes (by johnmaddock):

 * status: assigned => closed
 * resolution: => fixed

Comment:

 (In [85008]) Fix mpfi pow function to correctly handle negative base with
 integer power.
 Fixed error handling to not return numeric_limits<>::quiet_NaN if there is
 no NaN supported.
 Fixed default pow implementation to handle integer args up to
 numeric_limits<uintmax_t>::max().
 Fixed error handling in default pow implementation to return NaN for too
 large exponents (can't tell if they're integers or even or odd) and
 negative bases.
 Fixed array subscript bug in cpp_dec_float.
 Greatly increased pow testing.
 Fixes #8809.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8809#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:13 UTC