Calculator
The iPhone wouldn't be much of a computer without a calculator, now would it?
And here it is, your basic four-function memory calculator. Tap out equations (like 15.4 × 300=) to see the answer at the top.
Tip
When you tap one of the operators (like x, +, −, or ÷) it sprouts a white outline to help you remember which operation is in progress. Let's see an ordinary calculator do that!
The Memory function works like a short-term storage area that retains numbers temporarily, making it easier to work on complicated problems.
When you press m+, whatever number is on the screen gets added to the number already in the memory and the mr/mc button glows with a white ring to let you know you've stored something there. Press m- to subtract the currently displayed number from the number in memory.
And what is the number in memory? Press mr/mc to display it—to use it in a subsequent calculation, for example.
Finally, tap mr/mc twice to clear the memory and do away with the white ring.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access