summaryrefslogtreecommitdiff
path: root/share/cmake-3.5/Help/command/math.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.5/Help/command/math.rst')
-rwxr-xr-xshare/cmake-3.5/Help/command/math.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/share/cmake-3.5/Help/command/math.rst b/share/cmake-3.5/Help/command/math.rst
new file mode 100755
index 0000000..d4deb16
--- /dev/null
+++ b/share/cmake-3.5/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.