id summary reporter owner description type status milestone component version severity resolution keywords cc 2671 Calculation overflow for the 4th moment m.de.wever@… Eric Niebler "While testing the accumulator library the calculation of the kurtosis goes wrong with a larger dataset. I traced to problem down to the calculation of the 4th moment which seems to overflow. The attached program produces the following output on a 32 bit machine. {{{ 2.44141e+08 2.48094e+08 2.52111e+08 2.56192e+08 2.60338e+08 2.6455e+08 2.68829e+08 2.73175e+08 2.77589e+08 2.82072e+08 2.86624e+08 2.91247e+08 2.95942e+08 3.00708e+08 1.92167e+07 4.20257e+07 6.28038e+07 8.19029e+07 9.96007e+07 1.1612e+08 1.3164e+08 1.4631e+08 1.60251e+08 1.73565e+08 1.45388e+07 }}} PS I didn't test whether the 3th moment also can overflow, but I had no problem with the calculation of the skewness. " Bugs closed Boost 1.38.0 accumulator Boost 1.37.0 Showstopper wontfix