The c++ kahan error analysis library, it can be used to calculate the error bars and do the kahan summation.