The expression evaluator supports the following arithmetic functions. The words in italics can be replaced by an actual value or a variable.
| Expression | Description |
|---|---|
| (+ number number [number] ...) | Returns the sum of all numbers. |
| (- number number [number] ...) | Subtracts the second and following numbers from the first and returns the difference. |
| (* number number [number] ...) | Returns the product of all numbers. |
| (/ number number [number] ...) | Divides the first number by the product of the remaining numbers and returns the quotient. |
| (abs number) | Returns the absolute value of the number. |
| (atan num1 [num2] ) | Returns the arctangent of the number expressed in radians. |
| (cos angle) | Returns the cosine of the angle expressed in radians. |
| (exp number) | Returns the constant e (a real number) raised to a specified power (the natural antilog). |
| (expt basepower) | Returns a number raised to a specified power. |
| (fix number) | Returns the conversion of a real number into the nearest smaller integer. |
| (log number) | Returns the natural log of a number as a real number. |
| (log10 number) | Returns the base 10 logarithm for a number. |
| (sin angle) | Returns the sine of an angle as a real number expressed in radians. |
| (sqrt number) | Returns the square root of a number as a real number. |
| (tan angle) | Returns the tangent of an angle, measured in radians. |