Calculator bug

Discussion in 'iOS 6' started by crispyking, Dec 13, 2012.

  1. crispyking macrumors newbie

    Joined:
    Oct 27, 2011
    #1
    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?
     
  2. cyks macrumors 68020

    cyks

    Joined:
    Jul 24, 2002
    Location:
    Westchester County, NY
    #2
    Nice find... and confirmed on my phone as well.

    It shows the right answer (9.99999999) in landscape, but consistently shows 1 in portrait.
     
  3. AlphaVictor87 macrumors 6502a

    AlphaVictor87

    Joined:
    Sep 7, 2011
    Location:
    Saint Louis, MO
    #3
    Well that's just weird...

    but i do have to ask, what were you doing that you figured this out? :confused:
     
  4. charlieegan3 macrumors 68020

    charlieegan3

    Joined:
    Feb 16, 2012
    Location:
    U.K
    #4
    Faking in Maths Class :)
     
  5. SomeDudeAsking macrumors 65816

    Joined:
    Nov 23, 2010
    #5
    OMG, it's CalculatorGate! Apple has some really bad bugs and should just recall iOS 6.
     
  6. Carlanga, Dec 13, 2012
    Last edited: Dec 13, 2012

    Carlanga macrumors 604

    Carlanga

    Joined:
    Nov 5, 2009
    #6
    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!
     
  7. crispyking thread starter macrumors newbie

    Joined:
    Oct 27, 2011
    #7
    I've never seen 9.999999 rounded up to 1 before. It's usually 10.
     
  8. SomeDudeAsking macrumors 65816

    Joined:
    Nov 23, 2010
    #8
    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!
     
  9. AlphaVictor87 macrumors 6502a

    AlphaVictor87

    Joined:
    Sep 7, 2011
    Location:
    Saint Louis, MO
    #9
    That doesn't really make sense. It should round it to 10 then in portrait mode not 1
     
  10. zbarvian macrumors 68010

    Joined:
    Jul 23, 2011
    #10
    Well 9.99999 repeating is actually 10, I believe, so maybe it just figures it's a repeating decimal.
     
  11. Carlanga macrumors 604

    Carlanga

    Joined:
    Nov 5, 2009
    #11
    yeah, you are right :eek: Long day for me today :eek:
     
  12. From A Buick 8 macrumors 68040

    From A Buick 8

    Joined:
    Sep 16, 2010
    Location:
    Ky Close to CinCinnati
    #12
    Did you report that to apple
     
  13. Sylon macrumors 68020

    Sylon

    Joined:
    Feb 26, 2012
    Location:
    Michigan/Ohio, USA
    #13
    All 6 math nerds in the world are VERY upset right now!
     

Share This Page