Grammatical fix for a comment for log2, to avoid referring to an *algorithm* as monotonic.
This commit is contained in:
parent
2cffff938b
commit
83b8c0be93
|
@ -581,8 +581,10 @@ m_log(double x)
|
||||||
log2: log to base 2.
|
log2: log to base 2.
|
||||||
|
|
||||||
Uses an algorithm that should:
|
Uses an algorithm that should:
|
||||||
|
|
||||||
(a) produce exact results for powers of 2, and
|
(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
|
static double
|
||||||
|
|
Loading…
Reference in New Issue