mirror of https://github.com/python/cpython
Fix cut-and-paste typo in comment: log10 -> log2.
This commit is contained in:
parent
7c038b4726
commit
23442584f4
|
@ -622,7 +622,7 @@ m_log2(double x)
|
|||
}
|
||||
else {
|
||||
errno = EDOM;
|
||||
return Py_NAN; /* log10(-inf) = nan, invalid-operation */
|
||||
return Py_NAN; /* log2(-inf) = nan, invalid-operation */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue