iPhone calculator

Discussion in 'iPhone' started by kcjones, Sep 19, 2008.

  1. kcjones macrumors newbie

    Joined:
    Aug 4, 2008
    #1
    I know this sounds a bit geeky but:

    On the iPhone calculator if you calculate log(0) it gives you minus infinity. (then you can use that to do e^-infinity and it gives you zero)

    If you calculate tan(90) it gives you Error. Shouldn't that give you +infinity (by the same logic as the log(0))?
     
  2. chimpboy74 macrumors 6502a

    chimpboy74

    Joined:
    Nov 12, 2007
    Location:
    Scotland
    #2
    errrr, yes?
     
  3. philgilder macrumors 68000

    Joined:
    Sep 30, 2007
    Location:
    UK
    #3
    i would have thought they should both give an error
    but tan(90) should not be infinity, it does not exist in any way
     
  4. ajwchin macrumors member

    Joined:
    Sep 19, 2008
    Location:
    Raleigh
    #4
    Nope. tan(90) = sin(90)/cos(90) = 1/0 = divide by zero error = undefined.

    Not infinity.
     
  5. Gnisraw macrumors newbie

    Joined:
    Jun 18, 2016
    #5
    So yeah I've been observing this same feature for quite some time as well and I'd like to mention that log(0) returns an error on version 9.2. I wonder why the change.
     
  6. Channan macrumors 68030

    Channan

    Joined:
    Mar 7, 2012
    Location:
    New Orleans
    #6
    Really...
     
  7. zone23 macrumors 68000

    Joined:
    May 10, 2012

Share This Page