summaryrefslogtreecommitdiffstats
path: root/Help/command/math.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/command/math.rst')
-rw-r--r--Help/command/math.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Help/command/math.rst b/Help/command/math.rst
new file mode 100644
index 0000000..38fde1d
--- /dev/null
+++ b/Help/command/math.rst
@@ -0,0 +1,13 @@
+math
+----
+
+Mathematical expressions.
+
+::
+
+ 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.