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

BigPrince

macrumors 68020
Original poster
Dec 27, 2006
2,053
111
Take the calculator on your iPhone and divide by zero.

It gives you INF which I think represents Infinity. (I think)

It should give you UNF, which represents Undefined, the correct answer.

Nit pick away or tell me I'm wrong!
 
Just FYI - the Mac version, "Calculator", displays the same messages. "x / 0 = Infinity (INF on the iPhone)" and "0 / 0 = Not a Number (NAN on the iPhone).

edit:
Infinity is the correct answer for x/0.

brief note about this: http://mathworld.wolfram.com/Infinity.html

The two calculators are evaluating the equation, before actually trying to calculate a result.
 
Hey, at least he was honest and said he was bored. If the OP actively sought this out, I'd be a little worried...well, not really. But it would just be weird.
 
Take the calculator on your iPhone and divide by zero.
It gives you INF which I think represents Infinity. (I think)
Nit pick away or tell me I'm wrong!

FWIW, The Apple Calculator app for Mac OS X gives you the exact same answer:

infinity.png
infinity2.png
 
Feel free to write your own calculator app with Apple's recently released iPhone SDK.

Very cute :rolleyes:

This is where you really miss third party apps. Windows Mobile has some cool calculators available, with basic, financial, scientific modes. They even go out and get the latest rates from the web, so you can do money conversions and interest calculations.

That's what a "breakthrough internet" device is supposed to be like...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.