Algorithm 908: Online Exact Summation of Floating-Point Streams
accurate floating - point summation part ii : sign , k - fold faithful and rounding to nearest .