Function sum

Finds the sum of an input range whose elements implicitly convert to double. User has option of making U a different type than T to prevent overflows on large array summing operations. However, by default, return type is T (same as input type).

U sum(T, U) (
  T data
)
if (doubleIterable!T);