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:
parent
3d53b39a2a
commit
8feb714b4d
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue