Point about Floating (Points)

1 minute read Modified:

It is not always true what you might be told about floating point numbers, always better to look for things in the manual or on the internet


Black Hat was lying to the ACM team. e^π – π, which is around 19.999099979 is very close to 20. Many people forget that floating point numbers are approximations, otherwise infinite space would be needed to store such numbers. He made them believe that it is “close enough to 20 that the computer should be unable to tell the difference, and that any noticeable deviation from 20 results from errors in the code”. Well, what more do you expect from black-hat?