Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

**Hannibal lecter****Member**- Registered: 2016-02-11
- Posts: 330

hi, why 1 - 1.928749848×10^(-22) equal = 1 in online calculators?

I used also google calculator :-

I tried to remove the 1 integer to become 0.928749848×10^(-22)

but still the same the sum equal 1! is there something wrong?

...

...

Wisdom is a tree which grows in the heart and fruits on the tongue

Offline

**Mathegocart****Member**- Registered: 2012-04-29
- Posts: 2,199

This inaccuracy derives from how computers represent real numbers, after all, computers handle and tinker around with binary numbers and mathematics, and it is impossible to represent *all* real numbers in binary, and this leads to a plethora of idiosyncracies; another one is that tan(pi/2) will not yield infinity not result in an overflow in the typical floating-point representations; if you type tan(pi/2) into a humble calculator that is not programmed with these cases in mind, the result will be

*Last edited by Mathegocart (2021-12-12 15:27:15)*

The integral of hope is reality.

May bobbym have a wonderful time in the pearly gates of heaven.

He will be sorely missed.

Offline

**ganesh****Administrator**- Registered: 2005-06-28
- Posts: 35,588

Hi,

The number gives the solution 1 in a scientific calculator too.

1 - 1.928749848×10^(-22) = 1.

This is because the resultant produces rounding off; for all practical purposes, this would apply.

It appears to me that if one wants to make progress in mathematics, one should study the masters and not the pupils. - Niels Henrik Abel.

Nothing is better than reading and gaining more and more knowledge - Stephen William Hawking.

**Online**

**phrontister****Real Member**- From: The Land of Tomorrow
- Registered: 2009-07-12
- Posts: 4,700

MIF has a 'full precision' calculator here, that gives the 'full precision' answer 0.9999999999999071250152, which is accurate to the 22 decimal places present in the sum.

"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

**ganesh****Administrator**- Registered: 2005-06-28
- Posts: 35,588

Hi,

That's right!

The MathIsFun website has elucidated in these cases.

Full Precision Calculator does the work.

1 - 1.928749848×10^(-22) produces 0.9999999999999999999998071250152.

It again shows the brilliance of the website, and the creator.

Thanks, phrontister!

It appears to me that if one wants to make progress in mathematics, one should study the masters and not the pupils. - Niels Henrik Abel.

Nothing is better than reading and gaining more and more knowledge - Stephen William Hawking.

**Online**

**phrontister****Real Member**- From: The Land of Tomorrow
- Registered: 2009-07-12
- Posts: 4,700

I've learnt from you, ganesh! You often give links to MIF's tools!

"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

Pages: **1**