summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Doc/library/math.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index d68cf1157c..62c0f34eef 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)