Contents
Licensing and acknowledgments
How to use this manual
I Getting Started
1 Getting Acquainted with SpicyRPN
1.1 What the calculator provides
1.2 Multiple precision in everyday use
1.3 Installation and first launch
1.4 A tour of the display
1.5 Scientific and Financial keyboard panels
1.6 Orange and blue shift functions
1.7 Choosing RPN or ALG
1.8 Flags and pending operations
1.9 Help, keyboard input, and accessibility
1.10 Your work is saved automatically
2 The SpicyRPN Stack
2.1 Where the numbers wait
2.2 Prepare a known starting state
2.3 Entering a number and pressing ENTER
2.4 Lift, drop, and the deepest register
2.5 Functions and operand order
2.6 Inspecting every register
2.7 Swapping, rolling, and dropping
2.8 Clearing X or clearing the stack
2.9 Recovering operands with LAST X and LAST Y
2.10 Choosing the stack depth
2.11 Arriving from another RPN calculator
3 First Calculations in RPN
3.1 Prepare a known starting state
3.2 Enter numbers, signs, and exponents
3.3 Add, subtract, multiply, and divide
3.4 Squares, roots, reciprocals, and powers
3.5 Continue from a result
3.6 Keep two intermediate results on the stack
3.7 Use the percentage keys
3.8 Correct an entry or recover operands
3.9 A short practice set
3.10 Where to go next
4 Calculations in ALG Mode
4.1 Entering and evaluating an expression
4.2 Precedence and parentheses
4.3 Powers and negative operands
4.4 Implicit multiplication
4.5 Functions before and after an operand
4.6 FUNC and multiple arguments
4.7 Editing an unfinished expression
4.8 ANS, continuation, and ordinary memory
4.9 Clearing and recovering from an error
4.10 Switching workspaces and choosing available functions
4.11 Financial assignments and explicit computation
4.12 Working with labeled worksheets
II Everyday and Scientific Use
5 Numbers, Precision, and the Display
5.1 Three meanings of precision
5.2 Setting working and display digits with PREC
5.3 Fixed, scientific, and engineering notation
5.4 Setting FIX in each entry mode
5.5 Reading long numbers
5.6 Display rounding and value rounding
5.7 Existing values and a new working precision
5.8 Choosing useful precision and recognizing limits
6 Storing and Reusing Values
6.1 The memory banks and their indicators
6.2 Ordinary storage and recall
6.3 Arithmetic storage
6.4 Reusing a constant
6.5 Complex values in memory
6.6 Unset registers and stored zero
6.7 Associative memory: values under numeric keys
6.8 Memories, working areas, and saved operands
6.9 The statistical and financial banks
6.10 Clearing the intended group with MCLR
7 Scientific Functions
7.1 Finding and applying a scientific function
7.2 Arithmetic, reciprocal, powers, and roots
7.3 Exponential and logarithmic functions
7.4 Angle units and trigonometric functions
7.5 Hyperbolic functions and their inverses
7.6 Absolute value, integer parts, and rounding
7.7 Two different remainder conventions
7.8 Percentages and their retained base
7.9 Factorials, permutations, and combinations
7.10 Gamma and logarithmic factorials
7.11 The error function and its complement
7.12 Constants and random numbers
7.13 Domains, errors, and useful checks
8 Complex Numbers
8.1 Components, controls, and the display
8.2 Entering and editing a complete pair
8.3 Rectangular and polar forms
8.4 Swapping components and changing signs
8.5 Arithmetic and supported scientific functions
8.6 Turning complex mode off
8.7 Functions that use only real components
8.8 Principal results and branch conventions
8.9 Numerical limits and interpreting a result
9 Unit Conversions
9.1 Choose the quantity and conversion direction
9.2 What changes in RPN and ALG
9.3 Length, area, volume, and mass
9.4 US and Imperial names are part of the unit
9.5 Temperature readings and temperature differences
9.6 Motion, force, pressure, and torque
9.7 Energy, power, time, and frequency
9.8 Angle conversion and the angle setting
9.9 Conversion factors, precision, and rounding
III Statistical and Financial Calculations
10 Statistics
10.1 Prepare the statistical bank
10.2 Enter observations in the right order
10.3 What the six accumulators retain
10.4 Correct or remove an observation
10.5 Means and weighted means
10.6 Sample standard deviations
10.7 Fit a straight line
10.8 Estimate a response and read correlation
10.9 Inspect the totals and preserve useful results
10.10 Statistics worksheets in ALG
10.11 Stack effects, errors, and numerical limits
11 Time Value of Money, Loans, and Savings
11.1 The five financial registers
11.2 Cash signs, periods, and interest rates
11.3 END and BEGIN payment timing
11.4 When an RPN financial key stores and when it solves
11.5 Clearing and preparing a financial problem
11.6 Loan payments and a final balloon
11.7 Present value and a payment budget
11.8 Future value and regular savings
11.9 Solving for the periodic interest rate
11.10 Solving n and interpreting fractional periods
11.11 Amortization: interest, principal, and balance
11.12 TVM and amortization in ALG
11.13 Money rounding, precision, and practical limits
12 Cash Flows, NPV, and IRR
12.1 Amounts at equally spaced times
12.2 Controls and a known starting state
12.3 Entering individual and repeated flows
12.4 Reviewing and replacing stored amounts
12.5 Selecting the prefix with n
12.6 Net present value
12.7 Internal rate of return
12.8 Bounds, multiple roots, and unsuccessful searches
12.9 Cash-flow worksheets in ALG
12.10 Comparing amount and rate results
12.11 Clearing and numerical limits
13 Additional Financial and Date Calculations
13.1 Controls and preparation
13.2 Simple interest on 360- and 365-day bases
13.3 Entering and reading calendar dates
13.4 Adding or subtracting calendar days
13.5 Actual and 30/360 day counts
13.6 Bond inputs and coupon assumptions
13.7 Calculating bond price and yield
13.8 Preparing a depreciation calculation
13.9 Straight line and sum of years’ digits
13.10 Declining balance and straight-line crossover
13.11 Fractional useful lives and rounding
13.12 Financial and date worksheets in ALG
13.13 Retained inputs, results, and error recovery
IV Reference and Problem Solving
14 Saved Work, Clearing, and Troubleshooting
14.1 What is saved automatically
14.2 Independent workspaces and shared data
14.3 Resuming an unfinished entry
14.4 Cancel the pending operation before editing
14.5 Choose the smallest clear that fits
14.6 Prepare a fresh problem without resetting the application
14.7 Diagnose an unexpected result
14.8 Recover from a calculation error
14.9 Respond to a saved-state error
14.10 Identify the build and report a reproducible problem
15 Complete Command and Settings Reference
15.1 Reading an entry and following an example
15.2 Complete keyboard maps
15.3 Physical-keyboard shortcuts
15.4 Alphabetical reference: A through F
15.5 Alphabetical reference: G through N
15.6 Alphabetical reference: P through S
15.7 Alphabetical reference: T through Z and numeric legends
15.8 Display flags and pending indicators
15.9 Settings, defaults, and tool fields
15.10 Complete conversion-unit inventory
15.11 Domains and operational limits
15.12 Errors, warnings, and recovery cues
A Learning and Mastering RPN
A.1 Infix, prefix, and postfix describe the same calculation
A.2 Prepare to see what each key does
A.3 Optional refresher: a waiting intermediate result
A.4 Translate grouping before translating keys
A.5 Choose an order that fits the stack
A.6 The project website’s expression equal to 42
A.7 Use deepest-register repetition deliberately
A.8 Reverse subtraction or division safely
A.9 Give a reusable value an ordinary memory register
A.10 Practice, check, and recover
A.11 Answers and annotated checkpoints
B Why RPN?
B.1 A calculation built from intermediate results
B.2 What ALG offers in return
B.3 Counting keys fairly
B.4 Learning effort and opportunities for error
B.5 What the historical studies establish
B.6 From Polish notation to pocket calculators
B.7 Why SpicyRPN takes this form
B.8 Sources and further reading
C Mathematical and Numerical Reference
C.1 Finite multiple precision
C.2 Rounding and integer conventions
C.3 Real scientific definitions and domains
C.4 Complex principal values
C.5 Statistical accumulators and results
C.6 Time value of money
C.7 Amortization and simple interest
C.8 Cash-flow discounting and internal rate of return
C.9 Financial numerical root finding
C.10 Gregorian dates and day counts
C.11 Semiannual bonds
C.12 Depreciation methods
C.13 Conversion definitions and factor catalog
C.14 Limits and independent checks
D Obtaining and Building the Source
D.1 Preparing the development machine
D.2 Obtaining the release source package
D.3 Understanding the source layout
D.4 Library deployment settings
D.5 Building GMP, MPFR, and MPC
D.6 Signing and personal runs
D.7 Building and running on macOS
D.8 Building for iPhone and iPad
D.9 Rebuilding after modifying a library
D.10 Running the native test suites
D.11 Archiving and publishing the validated release
D.12 Checking independent numerical references
D.13 Building this manual
D.14 Diagnosing a build problem
E MIT and GNU license texts
E.1 MIT License
E.2 GNU General Public License, version 3
E.3 GNU Lesser General Public License, version 3
Glossary and Mathematical Symbols
Bibliography and Further Reading