On 16.05.2016 22:10, Andrei Alexandrescu wrote:

I bring
up our very own Phobos sum algorithm, which was re-implemented later
with the Kahan method to reduce precision loss.

Kahan is clear, ingenous, and understandable and a great part of the
stdlib. I don't see what the point is here. Naive approaches aren't
going to take anyone far, regardless of precision.

Kahan summation is not guaranteed to work in D.

Reply via email to