[Boost-bugs] [Boost C++ Libraries] #6030: formula error in log1p docs

Subject: [Boost-bugs] [Boost C++ Libraries] #6030: formula error in log1p docs
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-17 19:59:03


#6030: formula error in log1p docs
---------------------------------------------------+------------------------
 Reporter: Richard B. Kreckel <kreckel@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
  Version: Boost 1.47.0 | Severity: Cosmetic
 Keywords: |
---------------------------------------------------+------------------------
 The documentation page for log1p mentions the alternative formula:
   log(1+x) == (log(1+x) * x) / ((1-x) - 1)
 This is apparently wrong. The correct formula is:
   log(1+x) == (log(1+x) * x) / ((1+x) - 1)
 (Note the sign of x in the denominator.)

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