Hacker News new | ask | show | jobs
by kaba0 1535 days ago
Just a nit, for floats it is not commutative either, not sure how much freedom do compilers have here. E.g. try summing many floats in decreasing value - chances are that adding a very small number in the end will not even change the value.
1 comments

A nit's nit, float addition is commutative. It is not associative.