[Python-checkins] CVS: python/dist/src/Modules mathmodule.c,2.47,2.48

Tim Peters python-dev@python.org
Sun, 2 Jul 2000 13:17:11 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv25919/python/dist/src/modules
Modified Files:
	mathmodule.c 
Log Message:
Repair docs for math.frexp (they were wrong).
Reported on c.l.py by Kirill Simonov.
Index: mathmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/mathmodule.c,v
retrieving revision 2.47
retrieving revision 2.48
diff -C2 -r2.47 -r2.48
*** mathmodule.c	2000年06月30日 23:58:05	2.47
--- mathmodule.c	2000年07月02日 20:17:08	2.48
***************
*** 172,176 ****
 "frexp(x)\n\
 \n\
! Return the matissa and exponent for x. The mantissa is positive.";
 
 
--- 172,178 ----
 "frexp(x)\n\
 \n\
! Return the matissa and exponent of x, as pair (m, e).\n\
! m is a float and e is an int, such that x = m * 2.**e.\n\
! If x is 0, m and e are both 0. Else 0.5 <= abs(m) < 1.0.";
 
 

AltStyle によって変換されたページ (->オリジナル) /