diff options
author | Brad King <brad.king@kitware.com> | 2023-09-11 12:10:36 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-09-11 12:10:41 (GMT) |
commit | 3fc4d8b457eec01ba18e61344d365dfda486ea7e (patch) | |
tree | ec1fc58b5c0723b7a8c01c9a8f825f3a4c40c428 | |
parent | bc41968c8a9d3a10daf43faf2abbc2d512baf4c6 (diff) | |
parent | 5924a1f0ebf544b4ac7516b0ff3f0f4e250f26e4 (diff) | |
download | CMake-3fc4d8b457eec01ba18e61344d365dfda486ea7e.zip CMake-3fc4d8b457eec01ba18e61344d365dfda486ea7e.tar.gz CMake-3fc4d8b457eec01ba18e61344d365dfda486ea7e.tar.bz2 |
Merge topic 'doc-if-number'
5924a1f0eb Help: Document if() comparison number format
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8783
-rw-r--r-- | Help/command/if.rst | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Help/command/if.rst b/Help/command/if.rst index c47c71b..5d85a1f 100644 --- a/Help/command/if.rst +++ b/Help/command/if.rst @@ -228,36 +228,36 @@ Comparisons .. signature:: if(<variable|string> LESS <variable|string>) :target: LESS - True if the given string or variable's value is a valid number and less - than that on the right. + True if the given string or variable's value parses as a real number + (like a C ``double``) and less than that on the right. .. signature:: if(<variable|string> GREATER <variable|string>) :target: GREATER - True if the given string or variable's value is a valid number and greater - than that on the right. + True if the given string or variable's value parses as a real number + (like a C ``double``) and greater than that on the right. .. signature:: if(<variable|string> EQUAL <variable|string>) :target: EQUAL - True if the given string or variable's value is a valid number and equal - to that on the right. + True if the given string or variable's value parses as a real number + (like a C ``double``) and equal to that on the right. .. signature:: if(<variable|string> LESS_EQUAL <variable|string>) :target: LESS_EQUAL .. versionadded:: 3.7 - True if the given string or variable's value is a valid number and less - than or equal to that on the right. + True if the given string or variable's value parses as a real number + (like a C ``double``) and less than or equal to that on the right. .. signature:: if(<variable|string> GREATER_EQUAL <variable|string>) :target: GREATER_EQUAL .. versionadded:: 3.7 - True if the given string or variable's value is a valid number and greater - than or equal to that on the right. + True if the given string or variable's value parses as a real number + (like a C ``double``) and greater than or equal to that on the right. .. signature:: if(<variable|string> STRLESS <variable|string>) :target: STRLESS |