Re: [Boost-bugs] [Boost C++ Libraries] #10104: program aborts with log1p(-2.0Q)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10104: program aborts with log1p(-2.0Q)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-09 11:50:55


#10104: program aborts with log1p(-2.0Q)
-----------------------------------------+----------------------------
  Reporter: Charles Karney <charles@…> | Owner: johnmaddock
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: multiprecision
   Version: Boost 1.54.0 | Severity: Problem
Resolution: invalid | Keywords:
-----------------------------------------+----------------------------

Comment (by johnmaddock):

 Not so minor, but I'm unable to reproduce (admittedly using current
 develop), this:

 {{{
    std::cout << boost::math::log1p(float128(-1)) << std::endl;
    std::cout << boost::math::log1p(float128(-2)) << std::endl;
 }}}

 Outputs
 {{{
 -inf
 nan
 }}}

 as expected.

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