Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2671: Calculation overflow for the 4th moment
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-01-24 20:10:08
#2671: Calculation overflow for the 4th moment
-------------------------------------+--------------------------------------
Reporter: m.de.wever_at_[hidden] | Owner: eric_niebler
Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: accumulator
Version: Boost 1.37.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------------+--------------------------------------
Comment(by steven_watanabe):
Of course it overflows if you use unsigned int.
Use double instead.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2671#comment:1> 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:49:59 UTC