mirror of
https://github.com/python/cpython.git
synced 2024-12-17 05:43:48 +08:00
note the point of having log2
This commit is contained in:
parent
6348f0ecdd
commit
eaee1385a0
@ -186,7 +186,8 @@ Power and logarithmic functions
|
||||
|
||||
.. function:: log2(x)
|
||||
|
||||
Return the base-2 logarithm of *x*.
|
||||
Return the base-2 logarithm of *x*. This is usually more accurate than
|
||||
``log(x, 2)``.
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user