77-38.5=0!!

Discussion in 'iPhone' started by jungleboybailey, Apr 23, 2015.

  1. jungleboybailey macrumors newbie

    Joined:
    Apr 23, 2015
    #1
    hi folks,

    does anyone heard of the issue on iP6 and iP6+ on the calculator function?

    if you input 77-38.8 and you will get Zero! I heard Apple had announcement on this issue but I couldn't find it. Anyone heard of that?

    btw, I tried and mine did give me Zero! :mad:

    Cheers,
    JB
     
  2. apunkrockmonk macrumors 6502a

    apunkrockmonk

    Joined:
    Nov 20, 2005
    Location:
    Rochester, NY
    #2

    Not sure if you're trolling... but yes, if you press the equal button twice, subtracting 38.5 from 77 two times, you will get 0.

    If you press the equal button once you'll get the correct answer, 38.5.
     
  3. jungleboybailey thread starter macrumors newbie

    Joined:
    Apr 23, 2015
    #3
    Hi Apunkrockmonk,

    mine pressed only once and got zero, not twice. and it happens to some of the ip6 and ip6+, not all of them.
     
  4. garirry macrumors 68000

    garirry

    Joined:
    Apr 27, 2013
    Location:
    Canada is my city
    #4
    You pressed the button twice without knowing it.
     
  5. mpavilion macrumors 6502a

    Joined:
    Aug 4, 2014
    Location:
    SFV, CA, USA
    #5
    This thread is questionable -– but I did have a similar-sounding issue recently with the iPhone calculator. I was doing a calculation where the answer was identical to the last number I entered before hitting "="; I don't recall the calculation, but for simplicity/illustration, let's say it was "88 – 44 = 44".

    Due to poor UI in the caculator app, there is no indication that the calculation was performed, other than the number in the display "changing" to the answer — a change which does not happen in the scenario I'm describing. (Even on a cheap pocket calculator, the 44 would "flash" so you know the subtraction happened and the answer is also 44). And so when I hit "=" and nothing would change, I would hit "=" again, and get "0" this time (because it was then subtracting another 44 from 44).

    I couldn't figure out what was going on, and kept trying it again and again (I was trying to do something under pressure, which didn't help...). Finally turned to a different calculator, and saw what was up.

    All they need to do is add a "flash" visual feedback — like a cheap calculator from 30 years ago — to let you know the input was received. (This is how much better the stock Samsung calculator is: it shows the next answer in tiny numbers before you even hit "="; keeps a running tally of your calculations which you can scroll back through; etc. Do Apple programmers not use calculators?)
     
  6. jungleboybailey thread starter macrumors newbie

    Joined:
    Apr 23, 2015
  7. maflynn Moderator

    maflynn

    Staff Member

    Joined:
    May 3, 2009
    Location:
    Boston
    #7
    Since 38.5 is half of 77, you hit equal twice since after typing 38.5 hitting enter, 38.5 shows up a second time.
     
  8. SHirsch999 macrumors 6502a

    Joined:
    Apr 19, 2011
    #8
    Maybe they are using Common Core Math.
     
  9. meistervu macrumors 65816

    Joined:
    Jul 24, 2008
    #9
    In my opinion, not a bug, but a quirk. As many have pointed out here, if you enter:

    77
    - (minus sign)
    38.5
    =

    you get 38.5. But because the display doesn't blink, you may think that you didn't hit the "=" key and so you do hit the "=" again and get 0. Which still doesn't make sense to me because if I were to enter the following:

    38.5
    =

    I should not get zero.


    That is why I prefer RPN calculator (Reversed Polish Notation, popular in HP calculators). I use PCALC on my iPhone. In RPN you do this:

    77
    Enter
    38.5
    - (minus sign)

    You get 38.5. Now if you hit the minus sign again, you still get 38.5 because there is only one operand available, and PCAL would vibrate to tell you that the operation is invalid because there is only one operand for a binary operation. You can also see for yourself that there is only one number, 38.5, on the stack, so it is crystal clear what is going on.
     
  10. tecnho macrumors 6502

    Joined:
    Apr 13, 2015
    #10
    77-38.5=0!!


    Well, first off, I can guarantee you that the answer to the calculation above is 38.2 :)
     
  11. ardchoille50 macrumors 68020

    Joined:
    Feb 6, 2014
    #11
    What happened was the person pressed the equal button, saw 38.5 still in the display and thought the equal button didn't register so they pressed it again and got zero.
     
  12. bookwormsy macrumors 6502

    Joined:
    Jul 7, 2010
    #12
    When you press = the second time, it repeats the previous operation using the answer instead of the first number. [77] [-] [38.5] [=] 38.5, call it ANS. [=] does ANS - 38.5 = 0.
     
  13. meistervu macrumors 65816

    Joined:
    Jul 24, 2008
    #13
    I am lost. So on an algebraic calculator, pressing the = sign repeat the previous operation using the answer instead of the first number. But that previous operation requires 2 operands. Are you saying that the second operand stay the same? That seems so arbitrary. Why would you want to do that in real life?
     
  14. C DM macrumors Westmere

    Joined:
    Oct 17, 2011
    #14
    If you are repeating some sort of action, which is basically what it does, repeat last action essentially.
     
  15. meistervu macrumors 65816

    Joined:
    Jul 24, 2008
    #15
    Ok, so pressing "=" repeat the last action. For the rest to work:

    77
    -
    38.5
    =

    must become

    38.5
    -
    38.5

    I see the logic of this madness now, or rather the madness of this logic :eek: Some how you do a binary operation on two operands, you end up with two operands. The first one is the result of the operation, and the second one is the second operand from previous operation.
     
  16. robaroo macrumors regular

    Joined:
    Jun 30, 2010
    Location:
    Seattle, WA
    #16
    his original post said 38.8. i don't know where the hell everyone is getting 38.5 from. regardless. i did the equation he mentioned and got the right answer. so not a bug. this dude's a troll.
     
  17. C DM macrumors Westmere

    Joined:
    Oct 17, 2011
    #17
    The title of the thread says 38.5, and given the numbers involved along with that it seems like a likely conclusion that 38.8 in the OP was a typo and was supposed to be 38.5.
     
  18. meistervu macrumors 65816

    Joined:
    Jul 24, 2008
    #18
    I think OP made a mistake by hitting the "=" twice as many people on this thread have pointed out.

    However, I think the Calculator can be improved to make thing less confusing. When the answer to a calculation is the same as the last operand, there is no indication that the calculation has taken place, so the user may mistakenly think that the "=" keystroke didn't register, and hit it again. Perhaps there should be an indication like one flash.

    To add to the confusion, at least to me or those who is not familiar with how an algebraic calculator works, is that the operands after the operation are not cleared, and pushing the "=" sign repeats the last operation.
     
  19. robaroo macrumors regular

    Joined:
    Jun 30, 2010
    Location:
    Seattle, WA
    #19
    a solution would be to just make the result turn green instead of the black text/number color.
     
  20. adamhenry macrumors 65816

    adamhenry

    Joined:
    Jan 1, 2015
    Location:
    On the Beach
    #21
    LOL. Yeah, I have one of those stashed. RPN math works fine once you get used to it.
     

Share This Page