From: Victor Stinner Date: Wed, 21 Sep 2011 01:35:18 +0000 (+0200) Subject: meth.log2 doc: add a link to int.bit_length() X-Git-Tag: v3.3.0a1~1512 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9415afcce1a130e16b92dd10591bfaf813f6b45c;p=thirdparty%2FPython%2Fcpython.git meth.log2 doc: add a link to int.bit_length() --- diff --git a/Doc/library/math.rst b/Doc/library/math.rst index d68cf1157c04..62c0f34eefdd 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -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)