3 ms·
Anyone have a guess to how the iPhone calculator computed 2?
by joejohnson 15y ago
Anyone have a guess to how the iPhone calculator computed 2?
- deleted 15y ago[deleted]
- sadfaceunread 15y agoComments on the original post indicate that if you do 6/7(1+2) then you get 2 as well and the iPhone is just throwing away whatever digit is in the position of the 7.
- martingordon 15y agoIt seems that pushing "(" doesn't push the entered value onto the stack, even though it's still visible on the screen. "6 / 2 (2 + 1)" becomes "6 / (2 + 1)".
- pacaro 15y agoThe calculator on WP7 does the same thing, but is a little more explicit - it shows the current expression as it is being built, so you see that while the first 2 was entered, the final expression is 6 ÷ (2 + 1)