summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-17 14:14:59 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-17 14:14:59 (GMT)
commit5fdee6d402798545280f8dc2955b21d4fe61605c (patch)
tree51a78c726027a0074c6b675f070a874f3b953562
parent6f7c02ab0ac83fcb23f147a41902d5ac97d4a299 (diff)
parentc05d9b0569a2a2c43db6f09a53fed7b54ae97d32 (diff)
downloadCMake-5fdee6d402798545280f8dc2955b21d4fe61605c.zip
CMake-5fdee6d402798545280f8dc2955b21d4fe61605c.tar.gz
CMake-5fdee6d402798545280f8dc2955b21d4fe61605c.tar.bz2
Merge topic 'doc-math-EXPR'
c05d9b05 Help: Fix math(EXPR) documentation formatting
-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 d4deb16..f99dc3d 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.