Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

crispyking

macrumors newbie
Original poster
Oct 27, 2011
27
0
The square root of 10 is 3.16227766

So can you fire up the default iPhone calculator (in standard portrait mode) and enter
3.16227766 x 3.16227766
It will equal 1. It shouldn't.

Try 10 / 3.16227766
Should be 3.16227766
Now multiply that result by 3.16227766
You'll get 10.

So, why didn't the first example work?
 

Carlanga

macrumors 604
Nov 5, 2009
7,132
1,409
The same thing happens if you 9.99999999 * 1.1 it gives 11 in portrait and 10.999999989 in landscape.

The calculator app rounds off it there are more nines after what the screen can show. That is just rounding off coding I guess?

EDIT: I see what the TS is saying it should round off to 10 not 1, long day!
 
Last edited:

AlphaVictor87

macrumors 6502a
Sep 7, 2011
797
27
Saint Louis, MO
The same thing happens if you 9.99999999 * 1.1 it gives 11 in portrait and 10.999999989 in landscape.

The calculator app rounds off it there are more nines after what the screen can show. That is just rounding off coding I guess, I don't see this as a defect since in landscape it has more space to be more precise.

That doesn't really make sense. It should round it to 10 then in portrait mode not 1
 

zbarvian

macrumors 68010
Jul 23, 2011
2,004
2
The same thing happens if you 9.99999999 * 1.1 it gives 11 in portrait and 10.999999989 in landscape.

The calculator app rounds off it there are more nines after what the screen can show. That is just rounding off coding I guess, I don't see this as a defect since in landscape it has more space to be more precise.

Well 9.99999 repeating is actually 10, I believe, so maybe it just figures it's a repeating decimal.
 

From A Buick 8

macrumors 68040
Sep 16, 2010
3,114
127
Ky Close to CinCinnati
The square root of 10 is 3.16227766

So can you fire up the default iPhone calculator (in standard portrait mode) and enter
3.16227766 x 3.16227766
It will equal 1. It shouldn't.

Try 10 / 3.16227766
Should be 3.16227766
Now multiply that result by 3.16227766
You'll get 10.

So, why didn't the first example work?

Did you report that to apple
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.