[go: up one dir, main page]

[][src]Function accurate::sum::i_fast_sum_in_place

pub fn i_fast_sum_in_place<F>(xs: &mut [F]) -> F where
    F: IFastSum

Calculates the correctly rounded sum of numbers in a slice

This algorithm works in place by mutating the contents of the slice. It is used by OnlineExactSum.

References

Based on Zhu and Hayes 09