On 2/26/15 5:34 AM, Ilya Yaroshenko wrote:
Hello all!

Python's fsum is ready for D :
https://github.com/D-Programming-Language/phobos/pull/2991

Destroy!

Unfortunate overlap in functionality is unfortunate.

$ git grep -i kahan
std/algorithm/iteration.d:$(D sum) uses the $(WEB en.wikipedia.org/wiki/Kahan_summation,
std/algorithm/iteration.d:Kahan summation) algorithm.)
std/algorithm/iteration.d:            return sumKahan!E(seed, r);
std/algorithm/iteration.d:// Kahan algo http://en.wikipedia.org/wiki/Kahan_summation_algorithm std/algorithm/iteration.d:private auto sumKahan(Result, R)(Result result, R r)
$ _


Andrei

Reply via email to