Merge branch 'doc-math-EXPR' into release

This commit is contained in:
Brad King 2016-10-14 15:47:50 -04:00
commit d657fd7b35
1 changed files with 5 additions and 4 deletions

View File

@ -5,9 +5,10 @@ Mathematical expressions.
::
math(EXPR <output variable> <math expression>)
math(EXPR <output-variable> <math-expression>)
``EXPR`` evaluates mathematical expression and returns result in the
output variable. Example mathematical expression is '5 * ( 10 + 13
)'. Supported operators are + - * / % | & ^ ~ << >> * / %. They have
the same meaning as they do in C code.
output variable. Example mathematical expression is ``5 * (10 + 13)``.
Supported operators are ``+``, ``-``, ``*``, ``/``, ``%``, ``|``, ``&``,
``^``, ``~``, ``<<``, ``>>``, and ``(...)``. They have the same meaning
as they do in C code.