From: Mark Dickinson Date: Mon, 9 May 2011 07:40:20 +0000 (+0100) Subject: Grammatical fix for a comment for log2, to avoid referring to an *algorithm* as monot... X-Git-Tag: v3.3.0a1~2344 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83b8c0be93799b907b22d1db62695da57514496a;p=python Grammatical fix for a comment for log2, to avoid referring to an *algorithm* as monotonic. --- diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index d2d461e096..14d008af13 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -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