pub fn sum<A>(xs: &[A]) -> Awhere A: Clone + Add<Output = A> + Zero,
Compute the sum of the values in xs
xs
With "use_nightly", this is special cased for f32, f64.
"use_nightly"
f32, f64