]> granicus.if.org Git - python/commitdiff
note the point of having log2
authorBenjamin Peterson <benjamin@python.org>
Mon, 9 May 2011 00:48:08 +0000 (19:48 -0500)
committerBenjamin Peterson <benjamin@python.org>
Mon, 9 May 2011 00:48:08 +0000 (19:48 -0500)
Doc/library/math.rst

index 8254d3feb3b8a278360f917346a6e8ee77c7f863..d68cf1157c0458d078c4b45cfd018720a0031b0f 100644 (file)
@@ -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