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