August 12, 2022

Posted in Category: Work — Amr Awadallah @ 4:24 am | link | | comment (0)

Try this search on Google: 1 – 0.9 – 0.1

the answer they give is: 1 – 0.9 – 0.1 = -2.77555756 × 10-17

of course the right answer is zero, which is what Yahoo Search gives:

1 – 0.9 – 0.1 = 0

to illustrate the problem with Google rounding:

1 / ((1 – 0.9 – 0.1) * (10^17)) = -0.36028797

when the right answer should be infinity, however yahoo gives this same wrong answer too:

1/((1 – 0.9 – 0.1) * (10^17)) = -0.3602879702

— amr

Average Rating: 5 out of 5 based on 185 user reviews.

• • •

No Comments »

No comments yet.

Comments RSS

Leave a comment

Powered by: WordPress • Шаблон: ADMIN-BG • 33 queries. 1.387 seconds.