Re:Improving Floating Point Accuracy: A Look at Sums
by alexSanchStern on Monday October 19, 2015 @02:39PM
(#10414704)
Even when summing using doubles, you can lose precision. In general, Kahan summation allows you to double the intermediary precision of your sums, so if you're losing precision even with 64-bit doubles, Kahan summation can give you 128-bits of intermediary precision, without going to software floating point solutions.
[ Parent
| on HN ]