summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-14 19:41:03 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-14 19:47:30 (GMT)
commitc05d9b0569a2a2c43db6f09a53fed7b54ae97d32 (patch)
treebf559e8a2cd2c28276b12d1f4f3e111df1bd9396
parentb99bbfe88d1bb02dc903507f3e1bbe716ac04c12 (diff)
downloadCMake-c05d9b0569a2a2c43db6f09a53fed7b54ae97d32.zip
CMake-c05d9b0569a2a2c43db6f09a53fed7b54ae97d32.tar.gz
CMake-c05d9b0569a2a2c43db6f09a53fed7b54ae97d32.tar.bz2
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.