mirror of
https://github.com/python/cpython.git
synced 2025-09-08 18:01:44 +00:00
meth.log2 doc: add a link to int.bit_length()
This commit is contained in:
parent
811db3b715
commit
9415afcce1
1 changed files with 5 additions and 0 deletions
|
@ -191,6 +191,11 @@ Power and logarithmic functions
|
|||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
.. seealso::
|
||||
|
||||
:meth:`int.bit_length` returns the number of bits necessary to represent
|
||||
an integer in binary, excluding the sign and leading zeros.
|
||||
|
||||
|
||||
.. function:: log10(x)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue