summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2019-10-26 05:20:14 (GMT)
committerCraig Scott <craig.scott@crascit.com>2019-10-26 06:47:03 (GMT)
commit15a0b0d04660fdec8c231ec4d1054ff5f5274610 (patch)
tree411313f67a828ddbc9e7208faa4e348c15e8768f /Help
parent92780281c2e8a46223b262b152caa9c8329373b1 (diff)
downloadCMake-15a0b0d04660fdec8c231ec4d1054ff5f5274610.zip
CMake-15a0b0d04660fdec8c231ec4d1054ff5f5274610.tar.gz
CMake-15a0b0d04660fdec8c231ec4d1054ff5f5274610.tar.bz2
Help: math() expressions must be representable as signed 64-bit
Diffstat (limited to 'Help')
-rw-r--r--Help/command/math.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/command/math.rst b/Help/command/math.rst
index 3cbe719..ddb1ec6 100644
--- a/Help/command/math.rst
+++ b/Help/command/math.rst
@@ -8,7 +8,8 @@ Evaluate a mathematical expression.
math(EXPR <variable> "<expression>" [OUTPUT_FORMAT <format>])
Evaluates a mathematical ``<expression>`` and sets ``<variable>`` to the
-resulting value.
+resulting value. The result of the expression must be representable as a
+64-bit signed integer.
The mathematical expression must be given as a string (i.e. enclosed in
double quotation marks). An example is ``"5 * (10 + 13)"``.