[Python-checkins] CVS: python/dist/src/Misc NEWS,1.228,1.229

Tim Peters tim_one@users.sourceforge.net
Tue, 04 Sep 2001 17:53:47 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv17117/python/Misc

Modified Files:
	NEWS 
Log Message:
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).


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.228
retrieving revision 1.229
diff -C2 -d -r1.228 -r1.229
*** NEWS	2001/09/04 22:08:56	1.228
--- NEWS	2001/09/05 00:53:45	1.229
***************
*** 82,85 ****
--- 82,88 ----
  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.