This command activates the shell's internal calculator: it evaluates the given expression and renders the resulting value, using both a wide range of mathematical functions.
Syntax |
FUNZ <expr> |
<expr> |
Mathematical expression to be evaluated |
The supported functions are as follows:
Function |
Description |
---|---|
abs(<expr>) |
Absolute value of <expr> |
acos(<expr>) |
Arcocosine of <expr> |
asin(<expr>) |
Arcosine of <expr> |
atan(<expr>) |
Arcotangent of <expr> |
cosh(<expr>) |
Hyperbolic cosine of <expr> |
cos(<expr>) |
Cosine of <expr> |
exp(<expr>) |
Exponent of <expr> |
log10(<expr>) |
Base 10 logarithm of <expr> |
log(<expr>) |
Natural logarithm of <expr> |
pow10(<expr>) |
Power 10 of <expr> |
round(<expr>) |
Rounding of <expr> |
sinh(<expr>) |
Hyperbolic sine of <expr> |
sin(<expr>) |
Sine of <expr> |
sqrt(<expr>) |
Square root of <expr> |
sqr(<expr>) |
Square of <expr>, that is, <expr> * <expr> |
tanh(<expr>) |
Hyperbolic tangent of <expr> |
tan(<expr>) |
Tangent of <expr> |
trunc(<expr>) |
Truncation value of <expr> |
r(<index>) |
Integer register value with index <index> |
rr(<index>) |
Real register value with index <index> |
inp_w(<index>) |
Input word 16bit value with index <index> |
out_w(<index>) |
Output word 16bit value with index <index>. |