summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-14 15:47:50 -0400
committerBrad King <brad.king@kitware.com>2016-10-14 15:47:50 -0400
commitd657fd7b354710e26bf5aa9a72896897cb292c64 (patch)
tree8d796f27a30ac6cb05734c70b8f8554ce3336a37
parentef4e349ea3ab6e523d86b16e3709e20cd4f260ea (diff)
parentc05d9b0569a2a2c43db6f09a53fed7b54ae97d32 (diff)
downloadcmake-d657fd7b354710e26bf5aa9a72896897cb292c64.tar.gz
Merge branch 'doc-math-EXPR' into release
-rw-r--r--Help/command/math.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/Help/command/math.rst b/Help/command/math.rst
index d4deb16e4a..f99dc3db3d 100644
--- a/Help/command/math.rst
+++ b/Help/command/math.rst
@@ -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.