Why 1-0.4 = 0.6 vs 1 - 1.4 = -0.399999999999

Also PSA: floating-point arithmetic

5 Likes