From: Alex M. <al...@us...> - 2005-11-11 21:52:34
|
Update of /cvsroot/gmpy/gmpy/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21462/src Modified Files: gmpy.c Log Message: Minor cleanups in preparation for 1.01 release. Index: gmpy.c =================================================================== RCS file: /cvsroot/gmpy/gmpy/src/gmpy.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** gmpy.c 7 Nov 2005 21:55:39 -0000 1.16 --- gmpy.c 11 Nov 2005 21:52:23 -0000 1.17 *************** *** 5,9 **** * Rewritten by Niels Möller, May 1996 * ! * Version for GMP-4, Python-2, with support for MSVC++6. * addition of mpf's, &c: Alex Martelli (al...@ya..., Nov 2000). * cleanups & reorgs leading to 1.0: Alex Martelli (until Aug 2003) --- 5,9 ---- * Rewritten by Niels Möller, May 1996 * ! * Version for GMP-4, Python-2.{2,3,4}, with support for MSVC++6, * addition of mpf's, &c: Alex Martelli (al...@ya..., Nov 2000). * cleanups & reorgs leading to 1.0: Alex Martelli (until Aug 2003) *************** *** 114,119 **** * fixed bug on mpq('123') [[str2mpq on string w/o a slash]] * added floordiv and truediv operators, and tests for them ! * ! * TODO: look deeper into divm (when operands are not mutually prime) * */ --- 114,118 ---- * fixed bug on mpq('123') [[str2mpq on string w/o a slash]] * added floordiv and truediv operators, and tests for them ! * NOT tested on GMP 3 (have none left around...), ONLY on GMP 4.* * */ *************** *** 171,175 **** is non-NULL, it's called to supply a result or raise an appropriate specialized exception, rather than (as per default) gmpy raising a ! normal exception or computing nthe result directly. By request of Pearu Peterson, to ease use of gmpy in symbolic computations. */ --- 170,174 ---- is non-NULL, it's called to supply a result or raise an appropriate specialized exception, rather than (as per default) gmpy raising a ! normal exception or computing the result directly. By request of Pearu Peterson, to ease use of gmpy in symbolic computations. */ *************** *** 5780,5785 **** static char _gmpy_docs[] = "\ ! gmpy 0.9 - General Multiprecision arithmetic for PYthon:\n\ ! exposes functionality from the GMP 3.1.1 library to Python 2.\n\ \n\ Allows creation of multiprecision integer (mpz), float (mpf),\n\ --- 5779,5784 ---- static char _gmpy_docs[] = "\ ! gmpy 1.01 - General Multiprecision arithmetic for PYthon:\n\ ! exposes functionality from the GMP 4 library to Python 2.{2,3,4}.\n\ \n\ Allows creation of multiprecision integer (mpz), float (mpf),\n\ |