summaryrefslogtreecommitdiffstats
path: root/Doc/library/math.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-05-09 00:48:08 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-05-09 00:48:08 (GMT)
commiteaee1385a084d3b5b680539974f4af1d927ddc68 (patch)
tree6428346518efa94a17d2904b27c16b2f86e03abb /Doc/library/math.rst
parent6348f0ecddaca5ed06df4f80313c31c8db597b27 (diff)
downloadcpython-eaee1385a084d3b5b680539974f4af1d927ddc68.zip
cpython-eaee1385a084d3b5b680539974f4af1d927ddc68.tar.gz
cpython-eaee1385a084d3b5b680539974f4af1d927ddc68.tar.bz2
note the point of having log2
Diffstat (limited to 'Doc/library/math.rst')
-rw-r--r--Doc/library/math.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index 8254d3f..d68cf11 100644
--- a/Doc/library/math.rst
+++ b/Doc/library/math.rst
@@ -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