diff options
author | Brad King <brad.king@kitware.com> | 2016-10-14 19:47:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-14 19:47:50 (GMT) |
commit | d657fd7b354710e26bf5aa9a72896897cb292c64 (patch) | |
tree | 8d796f27a30ac6cb05734c70b8f8554ce3336a37 /Help | |
parent | ef4e349ea3ab6e523d86b16e3709e20cd4f260ea (diff) | |
parent | c05d9b0569a2a2c43db6f09a53fed7b54ae97d32 (diff) | |
download | CMake-d657fd7b354710e26bf5aa9a72896897cb292c64.zip CMake-d657fd7b354710e26bf5aa9a72896897cb292c64.tar.gz CMake-d657fd7b354710e26bf5aa9a72896897cb292c64.tar.bz2 |
Merge branch 'doc-math-EXPR' into release
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/math.rst | 9 |
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. |