math.rst 401 B

1234567891011121314
  1. math
  2. ----
  3. Mathematical expressions.
  4. ::
  5. math(EXPR <output-variable> <math-expression>)
  6. ``EXPR`` evaluates mathematical expression and returns result in the
  7. output variable. Example mathematical expression is ``5 * (10 + 13)``.
  8. Supported operators are ``+``, ``-``, ``*``, ``/``, ``%``, ``|``, ``&``,
  9. ``^``, ``~``, ``<<``, ``>>``, and ``(...)``. They have the same meaning
  10. as they do in C code.