Parser tasks
The tables embraces the most important operators and parser tasks which are needed when entering formulas. These are essential to integrate a functionally working formula into the system.
Operator | Description | Priority |
= | assignment | −1 |
&& | Logical AND | 1 |
∥ | Logical OR | 1 |
<= | Less or equal | 2 |
>= | Greater or equal | 2 |
!= | Not equal | 2 |
== | Equal | 2 |
> | Greater than | 2 |
< | Less than | 2 |
+ | Addition | 3 |
− | Subtraction | 3 |
* | Multiplication | 4 |
/ | Division | 4 |
^ | Exponentiation (raise x to the power of y) | 5 |
Name | Number of arguments | Explanation |
sin | 1 | Sine function |
cos | 1 | Cosine function |
tan | 1 | Tangens function |
asin | 1 | Arcus sine function |
acos | 1 | Arcus cosine function |
atan | 1 | Arcus tangens function |
sinh | 1 | Hyperbolic sine function |
cosh | 1 | Hyperbolic cosine function |
tanh | 1 | Hyperbolic tangens function |
asinh | 1 | Hyperbolic arcus sine function |
acosh | 1 | Hyperbolic arcus cosine function |
atanh | 1 | Hyperbolic arcus tangens function |
log2 | 1 | Logarithm to the base 2 |
log10 | 1 | Logarithm to the base 10 |
log | 1 | Logarithm to the base 10 |
ln | 1 | Logarithm to the base e |
exp | 1 | exponentiation (e raised by the power of x) |
sqrt | 1 | Square root of a value |
sign | 1 | Sign function (-1 if x<0, 1 if x>0) |
rint | 1 | Round to nearest integer |
abs | 1 | Absolute value |
if | 3 | If function (logical test, true, false) |
min | variabel | Minimum of all arguments |
max | variabel | Maximum of all arguments |
sum | variabel | Sum of all arguments |
avg | variabel | Mean value of all arguments |