diff options
| author | Damien George <damien@micropython.org> | 2024-09-10 10:44:14 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-09-17 11:22:26 +1000 |
| commit | 8feb714b4d6bc29af3221c0abd47c4adb754f904 (patch) | |
| tree | c55b0acc6843b56a222d1a9022e0fa4cc851c728 /docs/library | |
| parent | 3d53b39a2a8b0d49f93a6c5915b22caa9ddae6d8 (diff) | |
docs/library: Document math.log with two arguments.
The functionality is there but was not documented.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/library')
| -rw-r--r-- | docs/library/math.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/library/math.rst b/docs/library/math.rst index a6f13d48c..335bd8078 100644 --- a/docs/library/math.rst +++ b/docs/library/math.rst @@ -125,8 +125,11 @@ Functions Return the natural logarithm of the gamma function of ``x``. .. function:: log(x) + log(x, base) - Return the natural logarithm of ``x``. + With one argument, return the natural logarithm of *x*. + + With two arguments, return the logarithm of *x* to the given *base*. .. function:: log10(x) |
