Przeglądaj źródła

Merge branch 'doc-math-EXPR' into release

Brad King 9 lat temu
rodzic
commit
d657fd7b35
1 zmienionych plików z 5 dodań i 4 usunięć
  1. 5 4
      Help/command/math.rst

+ 5 - 4
Help/command/math.rst

@@ -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.