meth.log2 doc: add a link to int.bit_length()
This commit is contained in:
parent
811db3b715
commit
9415afcce1
|
@ -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…
Reference in New Issue