Closed
Description
It is using the naive algorithm which is numerically unstable; it should be using something like Kahan summation.
extern mod extra;
use extra::stats::Stats;
fn main() {
// prints 0, but should be 1
println!("{}", [1e20, 1.0, -1e20].sum());
}