Separate names with a comma.
Discussion in 'iPhone' started by 2allbeefpatties, Jul 4, 2007.
When you go past 7 digits the display gets smaller to fit two more. Pretty cool!
At least it correctly calculates 6 + 3 * 5. As far as I know, windozes' calculator still honks that one up.
XP sp2 calculator correctly returns 21. I'm just curious about what you think the result should be.
In XP SP2:
If you use the calculator in "Standard" mode, it will evaluate 6 + 3 * 5 as 45.
When you switch to "Scientific", it will evaluate it as 21.
(order of precedence puts "*" higher than "+", and is evaluated first, same as if the expression were written in source code ("C", and others)).
Just for fun, did the same equation in OS-X, using Apple Calculator app:
Either Basic or Scientific - 21 is the result. I'll take consistent.
If you use RPN, the operators are evaluated in the order entered, with 45 as the result.
Tried same experiment with Palm T|X:
Same inconsistencies as Windows: Basic = 45. Advanced = 21.
i c. interesting.
Guess that got a bit off topic - but was interesting (at least it was interesting at 1:30am....)
21. The standard windoze calculator still hoses that one.
No, if you calculate 6 + 3 * 5 using RPN you get 21 if you:
- put 6 on the stack (6 ENTER) [Stack contains: 6]
- then you enter 3 and 5 and multiply them (3 ENTER 5 *). [Stack contains: 6 15],
- Finally you press + to add these numbers [Stack now contains: 21].
So, you would type "6 3 5 * +" in RPN.
If on the other hand you want to calculate (6 + 3) * 5, you type "6 3 + 5 *" to get 45.
What an amusingly bad application... apparently "3 / 0 = 0"
well, you DO realize that regular calculators do NOT prioritize equations, right? They calculate equations as they are typed. 2+2x4 will come out to be 16. They read it as 2+2 = 4 x4 = 16. I was taught that in elementary school.
actually the calculator pops out 3 more...it allows up to 10 numbers to be displayed.