docs/math: Clarify what it is for

See #12163
This commit is contained in:
Fabian Boehm
2025-12-15 19:23:01 +01:00
parent 190d367bc4
commit 8061c41c9b

View File

@@ -29,6 +29,11 @@ When in doubt, use parentheses.
``math`` ignores whitespace between arguments and takes its input as multiple arguments (internally joined with a space), so ``math 2 +2`` and ``math "2 + 2"`` work the same.
``math 2 2`` is an error.
.. note::
math is a simple tool for simple uses, provided for convenience. It internally works with floats for simplicity of implementation and can't do a number of things real calculators can.
If you find yourself limited by that, use a more full-featured tool.
The following options are available:
**-s** *N* or **--scale** *N*