From 8061c41c9b3fec161077bf75c209d42dad143281 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Mon, 15 Dec 2025 19:23:01 +0100 Subject: [PATCH] docs/math: Clarify what it is for See #12163 --- doc_src/cmds/math.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc_src/cmds/math.rst b/doc_src/cmds/math.rst index 513bad217..c12ea13a5 100644 --- a/doc_src/cmds/math.rst +++ b/doc_src/cmds/math.rst @@ -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*