From 83b8c0be93799b907b22d1db62695da57514496a Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Mon, 9 May 2011 08:40:20 +0100 Subject: [PATCH] Grammatical fix for a comment for log2, to avoid referring to an *algorithm* as monotonic. --- Modules/mathmodule.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.50.1