Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CMake
CMake
Commits
c05d9b05
Commit
c05d9b05
authored
Oct 14, 2016
by
Brad King
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Help: Fix math(EXPR) documentation formatting
parent
b99bbfe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
Help/command/math.rst
Help/command/math.rst
+5
-4
No files found.
Help/command/math.rst
View file @
c05d9b05
...
...
@@ -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.
Brad King
@brad.king
Mentioned in commit
5fdee6d4
·
Oct 17, 2016
Mentioned in commit
5fdee6d4
Mentioned in commit 5fdee6d402798545280f8dc2955b21d4fe61605c
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment