2013-10-15 19:17:36 +04:00
|
|
|
math
|
|
|
|
----
|
|
|
|
|
|
|
|
Mathematical expressions.
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2016-10-14 22:41:03 +03:00
|
|
|
math(EXPR <output-variable> <math-expression>)
|
2013-10-15 19:17:36 +04:00
|
|
|
|
2015-06-05 00:51:22 +03:00
|
|
|
``EXPR`` evaluates mathematical expression and returns result in the
|
2016-10-14 22:41:03 +03: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.
|