Comment Comment by bonzini Stuff like Kahan summation breaks horribly with -ffast-math, because if you assume that sum is associative the error term, which is ((s+x)-s)-x, simplifies to zero.https://en.m.wikipedia.org/wiki/Kahan_summation_algorithm parent bonzini 6 years ago
https://en.m.wikipedia.org/wiki/Kahan_summation_algorithm