2014-08-03 19:52:23 +02:00
|
|
|
math
|
|
|
|
----
|
|
|
|
|
|
|
|
Mathematical expressions.
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2016-10-30 18:24:19 +01:00
|
|
|
math(EXPR <output-variable> <math-expression>)
|
2014-08-03 19:52:23 +02:00
|
|
|
|
2015-11-17 17:22:37 +01:00
|
|
|
``EXPR`` evaluates mathematical expression and returns result in the
|
2016-10-30 18:24:19 +01:00
|
|
|
output variable. Example mathematical expression is ``5 * (10 + 13)``.
|
|
|
|
Supported operators are ``+``, ``-``, ``*``, ``/``, ``%``, ``|``, ``&``,
|
|
|
|
``^``, ``~``, ``<<``, ``>>``, and ``(...)``. They have the same meaning
|
|
|
|
as they do in C code.
|