diff options
author | Mark Dickinson <mdickinson@enthought.com> | 2011-05-09 07:40:20 (GMT) |
---|---|---|
committer | Mark Dickinson <mdickinson@enthought.com> | 2011-05-09 07:40:20 (GMT) |
commit | 83b8c0be93799b907b22d1db62695da57514496a (patch) | |
tree | f125eb6ed7b81f5aa7fc5943f61b02ab7fc461d8 | |
parent | 2cffff938b38d4b6dfe949b5f6f09bd6653cbb9c (diff) | |
download | cpython-83b8c0be93799b907b22d1db62695da57514496a.zip cpython-83b8c0be93799b907b22d1db62695da57514496a.tar.gz cpython-83b8c0be93799b907b22d1db62695da57514496a.tar.bz2 |
Grammatical fix for a comment for log2, to avoid referring to an *algorithm* as monotonic.
-rw-r--r-- | Modules/mathmodule.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index d2d461e..14d008a 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 |