Opened 12 years ago
#4255 new Bugs
Documentation: No overflow-checking in accumulators, no precision guarantees
Reported by: | Tim Odenthal | Owned by: | Eric Niebler |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | accumulator |
Version: | Boost 1.44.0 | Severity: | Problem |
Keywords: | Cc: | eric@… |
Description
As discussed herehttp://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.
Note:
See TracTickets
for help on using tickets.