docs/library: Document math.log with two arguments.

The functionality is there but was not documented.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2024-09-10 10:44:14 +10:00
parent 3d53b39a2a
commit 8feb714b4d
1 changed files with 4 additions and 1 deletions

View File

@ -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)