pub fn pairwise_sum<T: Float>(values: &[T]) -> T
Pairwise summation algorithm
Recursively splits the array and sums pairs, reducing rounding error compared to sequential summation.