Go Back   MacRumors Forums > iPhone, iPod and iPad > iOS > iOS 6

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 13, 2012, 03:33 PM   #1
crispyking
macrumors newbie
 
Join Date: Oct 2011
Calculator bug

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?
crispyking is offline   2 Reply With Quote
Old Dec 13, 2012, 03:37 PM   #2
cyks
macrumors 68020
 
cyks's Avatar
 
Join Date: Jul 2002
Location: Westchester County, NY
Nice find... and confirmed on my phone as well.

It shows the right answer (9.99999999) in landscape, but consistently shows 1 in portrait.
cyks is offline   0 Reply With Quote
Old Dec 13, 2012, 03:43 PM   #3
AlphaVictor87
macrumors 6502a
 
AlphaVictor87's Avatar
 
Join Date: Sep 2011
Location: Saint Louis, MO
Well that's just weird...

but i do have to ask, what were you doing that you figured this out?
AlphaVictor87 is offline   0 Reply With Quote
Old Dec 13, 2012, 03:45 PM   #4
charlieegan3
macrumors 68020
 
charlieegan3's Avatar
 
Join Date: Feb 2012
Location: U.K
Quote:
Originally Posted by AlphaVictor87 View Post
Well that's just weird...

but i do have to ask, what were you doing that you figured this out?
Faking in Maths Class
__________________
www.charlieegan3.com
charlieegan3 is offline   0 Reply With Quote
Old Dec 13, 2012, 03:46 PM   #5
SomeDudeAsking
macrumors 65816
 
Join Date: Nov 2010
OMG, it's CalculatorGate! Apple has some really bad bugs and should just recall iOS 6.
SomeDudeAsking is offline   2 Reply With Quote
Old Dec 13, 2012, 03:48 PM   #6
Carlanga
macrumors 603
 
Carlanga's Avatar
 
Join Date: Nov 2009
Location: PR
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!
__________________
☻ "A dream you dream alone is only a dream...
... A dream you dream together is reality." ☻

Last edited by Carlanga; Dec 13, 2012 at 05:13 PM.
Carlanga is offline   0 Reply With Quote
Old Dec 13, 2012, 04:00 PM   #7
crispyking
Thread Starter
macrumors newbie
 
Join Date: Oct 2011
I've never seen 9.999999 rounded up to 1 before. It's usually 10.
crispyking is offline   0 Reply With Quote
Old Dec 13, 2012, 04:04 PM   #8
SomeDudeAsking
macrumors 65816
 
Join Date: Nov 2010
Quote:
Originally Posted by crispyking View Post
I've never seen 9.999999 rounded up to 1 before. It's usually 10.
It's the genius of Apple, they've shown how we were wrong all along. We will be seeing this gem in the Journal of Applied Mathematics tomorrow!
SomeDudeAsking is offline   0 Reply With Quote
Old Dec 13, 2012, 04:05 PM   #9
AlphaVictor87
macrumors 6502a
 
AlphaVictor87's Avatar
 
Join Date: Sep 2011
Location: Saint Louis, MO
Quote:
Originally Posted by Carlanga View Post
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
AlphaVictor87 is offline   0 Reply With Quote
Old Dec 13, 2012, 04:25 PM   #10
zbarvian
macrumors 68000
 
Join Date: Jul 2011
Quote:
Originally Posted by Carlanga View Post
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.
zbarvian is offline   0 Reply With Quote
Old Dec 13, 2012, 05:12 PM   #11
Carlanga
macrumors 603
 
Carlanga's Avatar
 
Join Date: Nov 2009
Location: PR
Quote:
Originally Posted by crispyking View Post
I've never seen 9.999999 rounded up to 1 before. It's usually 10.
yeah, you are right Long day for me today
__________________
☻ "A dream you dream alone is only a dream...
... A dream you dream together is reality." ☻
Carlanga is offline   0 Reply With Quote
Old Dec 13, 2012, 06:59 PM   #12
From A Buick 8
macrumors 68030
 
From A Buick 8's Avatar
 
Join Date: Sep 2010
Location: Ky Close to CinCinnati
Quote:
Originally Posted by crispyking View Post
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
__________________
Homemade Interocitor, iPhone 6 Plus 128gb Silver, iPad 4, Two Apple TV's, -- 21.5-inch: 3.2GHz Intel Core i3 iMac.
From A Buick 8 is offline   0 Reply With Quote
Old Dec 13, 2012, 09:32 PM   #13
Sylon
macrumors 68000
 
Sylon's Avatar
 
Join Date: Feb 2012
Location: Michigan/Ohio, USA
All 6 math nerds in the world are VERY upset right now!
__________________
2013 13" Retina MacBook Pro | 64GB iPhone 6 | 32GB iPad Air | TV
Sylon is offline   0 Reply With Quote

Reply
MacRumors Forums > iPhone, iPod and iPad > iOS > iOS 6

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Safari Weird Bug & Download folder Bug DJTaurus OS X Mavericks (10.9) 0 Feb 18, 2014 04:11 PM
Possible bug when using Calculator? BasicGreatGuy iOS 7 0 Oct 6, 2013 08:54 PM
calculator bug naix iOS 6 6 Oct 5, 2013 09:54 AM
Launching Calculator from Control Center Bug omarb123 iOS 7 3 Sep 24, 2013 08:31 PM
Crazy Calculator Full--Change the way you use calculator wwssttt iPad Apps 0 Dec 30, 2012 06:37 AM

Forum Jump

All times are GMT -5. The time now is 09:27 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC