[Boost-bugs] [Boost C++ Libraries] #4255: Documentation: No overflow-checking in accumulators, no precision guarantees

Subject: [Boost-bugs] [Boost C++ Libraries] #4255: Documentation: No overflow-checking in accumulators, no precision guarantees
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-25 09:49:58


#4255: Documentation: No overflow-checking in accumulators, no precision
guarantees
--------------------------+-------------------------------------------------
 Reporter: Tim Odenthal | Owner: eric_niebler
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: accumulator
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 As discussed here[http://old.nabble.com/-accumulators--Is-there-a-reset-
 function-yet--td28635232.html], I suggest changing the documentation to
 warn users of possible overflow/loss of precision issues:

 Maybe in the section "The Accumulators Framework" one could add the
 sentence

 ''To ensure maximum performance, the predefined accumulators in the
 library do not check for possible overflows or loss of precision by adding
 numbers of very different exponents.''

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