I have a requirement to calculate the average of a very large set of doubles (10^9 values). The sum of the values exceeds the upper bound of a double, so does anyone know a
You could take the average of averages of equal-sized subsets of numbers that don't exceed the limit.