]> granicus.if.org Git - python/commitdiff
Grammatical fix for a comment for log2, to avoid referring to an *algorithm* as monot...
authorMark Dickinson <mdickinson@enthought.com>
Mon, 9 May 2011 07:40:20 +0000 (08:40 +0100)
committerMark Dickinson <mdickinson@enthought.com>
Mon, 9 May 2011 07:40:20 +0000 (08:40 +0100)
Modules/mathmodule.c

index d2d461e096d57589bccffddcbe5c84dc0d34881b..14d008af13cc6e21c7df395db35c035deb819989 100644 (file)
@@ -581,8 +581,10 @@ m_log(double x)
    log2: log to base 2.
 
    Uses an algorithm that should:
+
      (a) produce exact results for powers of 2, and
-     (b) be monotonic, assuming that the system log is monotonic.
+     (b) give a monotonic log2 (for positive finite floats),
+         assuming that the system log is monotonic.
 */
 
 static double