[go: up one dir, main page]

i_fast_sum_in_place

Function i_fast_sum_in_place 

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

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