Simulation of a simple pocket calculator.
| MC |
: |
clear memory |
| MR |
: |
recall number stored in memory |
| MS |
: |
store number in memory |
| M+ |
: |
add number to memory |
| Clear |
: |
erase number |
| CE |
: |
abandon operation and erase number |
| +/- |
: |
change sign of number |
| + |
: |
add second number to first number (e.g. 5 + 4 = 9) |
| - |
: |
subtract second number from first number (e.g. 5 - 4 = 1) |
| * |
: |
multiplication |
| % |
: |
calculate percentage (e.g. 50 * 20% = 10) |
| / |
: |
division |
| 1/x |
: |
divides 1 by the given number |
| x^2 |
: |
square: multiplies a given number with itself |
| = |
: |
get result |
Shortcuts and hints:
- x^n : for exponentiation, keep hitting '*', e.g., to calculate 5^4 key in : 5****
- To add the same number, keep hitting '+' : 3+2++++... = 2+3+3+3+3+3...
- To multiply with the same number, keep hitting '*' : 3*2****... = 2*3*3*3*3
(Note that is the FIRST number which is repeated!)
Limitations:
- avoid number overflow!
- only two decimal places available!
- there is no rounding in the multiplication result
To my knowledge this is the first Zillions game that handles very large numbers. This has been achieved by using positions-flags as temporary storage for the information (one position per digit). Feel free to copy this technique. More freeware as well as real puzzles and games at my homepage http://karl.kiwi.gen.nz.
|