3 ms·
I'm not sure if this is what the OP meant but floating point addition is not necessarily associative and this can surprise people when the same code can produce
by mattnewport 8y ago
I'm not sure if this is what the OP meant but floating point addition is not necessarily associative and this can surprise people when the same code can produce different results where evaluation order is not guaranteed. If you require parentheses to determine evaluation order it might reduce surprises.