]> granicus.if.org Git - python/commit
Return reasonable results for math.log(long) and math.log10(long) (we were
authorTim Peters <tim.peters@gmail.com>
Wed, 5 Sep 2001 00:53:45 +0000 (00:53 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 5 Sep 2001 00:53:45 +0000 (00:53 +0000)
commit785261684e0e660dcdce48daf683cec541f4a8f2
tree93a48bc9c7d2bf9725406c756a5535f298e583a0
parent63c945392917cd9c228a613d2e965500452bb92e
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).
Lib/test/test_long.py
Misc/NEWS
Modules/mathmodule.c