Skip to content

Commit

Permalink
docs/library: Document math.log with two arguments.
Browse files Browse the repository at this point in the history
The functionality is there but was not documented.

Signed-off-by: Damien George <[email protected]>
  • Loading branch information
dpgeorge committed Sep 17, 2024
1 parent 3d53b39 commit 8feb714
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/library/math.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 8feb714

Please sign in to comment.