summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2019-10-28 10:54:58 (GMT)
committerCraig Scott <craig.scott@crascit.com>2019-10-28 10:55:20 (GMT)
commitc79e9d8c210fd928bfb39a57634094ab74f8d120 (patch)
treefbcc3813ef20d8318348228e3bc0007ad33e4f8e /Help
parentf4749489fdcc252e73f009e69dadc9480e84f611 (diff)
parent82cdb26c93b595e3791818cc8f24dfc6935eb8a8 (diff)
downloadCMake-c79e9d8c210fd928bfb39a57634094ab74f8d120.zip
CMake-c79e9d8c210fd928bfb39a57634094ab74f8d120.tar.gz
CMake-c79e9d8c210fd928bfb39a57634094ab74f8d120.tar.bz2
Merge branch 'project-version-buffer-overflow' into release-3.16
Merge-request: !3948
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)"``.