diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-09-05 00:53:45 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-09-05 00:53:45 (GMT) |
commit | 785261684e0e660dcdce48daf683cec541f4a8f2 (patch) | |
tree | 93a48bc9c7d2bf9725406c756a5535f298e583a0 /Misc | |
parent | 63c945392917cd9c228a613d2e965500452bb92e (diff) | |
download | cpython-785261684e0e660dcdce48daf683cec541f4a8f2.zip cpython-785261684e0e660dcdce48daf683cec541f4a8f2.tar.gz cpython-785261684e0e660dcdce48daf683cec541f4a8f2.tar.bz2 |
Return reasonable results for math.log(long) and math.log10(long) (we were
getting Infs, NaNs, or nonsense in 2.1 and before; in yesterday's CVS we
were getting OverflowError; but these functions always make good sense
for positive arguments, no matter how large).
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -81,6 +81,9 @@ Core Library +- math.log and math.log10 now return sensible results for even huge + long arguments. For example, math.log10(10 ** 10000) ~= 10000.0. + - A new function, imp.lock_held(), returns 1 when the import lock is currently held. See the docs for the imp module. |