1-22 Getting started
Algebraic 
precedence 
order of 
evaluation
Functions within an expression are evaluated in the 
following order of precedence. Functions with the same 
precedence are evaluated in order from left to right.
1. Expressions within parentheses. Nested parentheses 
are evaluated from inner to outer.
2. Prefix functions, such as SIN and LOG.
3. Postfix functions, such as !
4. Power function, ^, NTHROOT.
5. Negation, multiplication, and division.
6. Addition and subtraction.
7. A N D  a nd NOT.
8. OR and XOR.
9. Left argument of | (where).
10.Equals, =.
Largest and 
smallest 
numbers
The smallest number the HP 40gs can represent is 
1×10
–499
(1E–499). A smaller result is displayed as 
zero. The largest number is 9.99999999999 × 10
499
 
(1E499). A greater result is displayed as this number.
Clearing 
numbers
•  clears the character under the cursor. When the 
cursor is positioned after the last character,   
deletes the character to the left of the cursor, that is, it 
performs the same as a backspace key.
•
CANCEL ( ) clears the edit line.
•  
CLEAR clears all input and output in the 
display, including the display history.
Using previous 
results
The HOME display ( ) shows you four lines of 
input/output history. An unlimited (except by memory) 
number of previous lines can be displayed by scrolling. 
You can retrieve and reuse any of these values or 
expressions.
Output
Last output
Input
Last input
Edit line
hp40g+.book  Page 22  Friday, December 9, 2005  12:27 AM