A few minutes ago I posted on using the Mac calculator for evaluating permutations. I found a flaw.
30!/28! = 2.652528598121911e+32/3.048883446117137e+29 which according to the calculator = 870.000000000000341
That’s wrong.
30!/28! = 30*29 = 870
So the Mac calculator is off by 0.000000000000341. I found a similar problem with the Google calculator where you enter:
50000000000000000001-50000000000000000000 and it returns:
50000000000000000001-50000000000000000000 = 0 when it should be:
50000000000000000001-50000000000000000000 = 1.
Conclusion? Computers suck at math.









