diff options
author | scivision <scivision@users.noreply.github.com> | 2023-02-14 18:33:31 (GMT) |
---|---|---|
committer | scivision <scivision@users.noreply.github.com> | 2023-02-14 18:33:31 (GMT) |
commit | 68a46505a30d40d3cd8e5535789b2cd231f44255 (patch) | |
tree | 38c8e8d528c817e48cd4f791ce30cb1aff810eb5 /Help/command | |
parent | 283432a1aaa72cd0dc5c0bd0e301bccfd52edd01 (diff) | |
download | CMake-68a46505a30d40d3cd8e5535789b2cd231f44255.zip CMake-68a46505a30d40d3cd8e5535789b2cd231f44255.tar.gz CMake-68a46505a30d40d3cd8e5535789b2cd231f44255.tar.bz2 |
Help: math: note that floating point inputs are invalid
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/math.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/command/math.rst b/Help/command/math.rst index 8386aab..6989ebc 100644 --- a/Help/command/math.rst +++ b/Help/command/math.rst @@ -9,7 +9,8 @@ Evaluate a mathematical expression. Evaluates a mathematical ``<expression>`` and sets ``<variable>`` to the resulting value. The result of the expression must be representable as a -64-bit signed integer. +64-bit signed integer. Floating point inputs are invalid e.g. ``1.1 * 10``. +Non-integer results e.g. ``3 / 2`` are truncated. The mathematical expression must be given as a string (i.e. enclosed in double quotation marks). An example is ``"5 * (10 + 13)"``. |