Google Calculator FAIL

Google Calculator FAIL :!

vg7frb.png



Check Yourself: 399999999999999-399999999999998 - Google Search :p
 
I think its a financial calculator..

When you have lost $399,999,999,999,998 out of that amount, you basically are left with nothing. A link to a chapter 11 consultant next to it would have been funnier.
 
here's the reason...

Calculators like Google Calc use floating point arithmetic to handle these calculations. In the case of Google Calc they're using double precision floating point arithmetic

The reason why Google Calc cannot tell the difference between 333333333333335 and 333333333333334 is because at that point they have the same binary representation, because there's only that many significant digits the mantissa can represent. What's more puzzling however is that instead of having a standard mantissa of 52 bits as defined by the IEEE 754 standard it has 4 bits less, or 48 bits, whereas the exponent seems to have as many bits as the standard.

from : Google Calc fails: 399999999999999-399999999999998 = ?
 
Back
Top