2011

Table Of Contents
Understand Syntax of Expressions
Quick Reference
See also:
Use the Command Prompt Calculator
CAL evaluates expressions according to standard mathematical rules of
precedence:
Expressions in parentheses first, starting with the innermost set
Operators in standard order: exponents first, multiplication and division
second, and addition and subtraction last
Operators of equal precedence from left to right
Numeric Expressions
Numeric expressions are real integer numbers and functions combined with
the operators in the following table.
Numeric operators
OperationOperator
Groups expressions( )
Indicates exponentiation^
Multiplies, divides* , /
Adds, subtracts+, -
The following are examples of numeric expressions:
3
3 + 0.6
(5.8^2) + PI
152 | Chapter 4 C Commands