浏览代码

Merge topic 'doc-math-EXPR'

c05d9b05 Help: Fix math(EXPR) documentation formatting
Brad King 9 年之前
父节点
当前提交
5fdee6d402
共有 1 个文件被更改,包括 5 次插入4 次删除
  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.