From: Armin R. <ar...@us...> - 2002-02-26 23:02:12
|
Update of /cvsroot/psyco/psyco/c/Modules In directory usw-pr-cvs1:/tmp/cvs-serv15265/c/Modules Modified Files: pmath.c Log Message: removed 'power' in favor of 'pow' Index: pmath.c =================================================================== RCS file: /cvsroot/psyco/psyco/c/Modules/pmath.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pmath.c 21 Feb 2002 11:59:17 -0000 1.2 --- pmath.c 26 Feb 2002 23:02:09 -0000 1.3 *************** *** 146,150 **** CIMPL_MATH_FUNC2("fmod", fmod, fmod) CIMPL_MATH_FUNC2("hypot", hypot, hypot) ! CIMPL_MATH_FUNC2("power", power, pow) CIMPL_MATH_FUNC2("pow", pow, pow) CIMPL_MATH_FUNC1("sin", sin, sin) --- 146,150 ---- CIMPL_MATH_FUNC2("fmod", fmod, fmod) CIMPL_MATH_FUNC2("hypot", hypot, hypot) ! /*CIMPL_MATH_FUNC2("power", power, pow)*/ CIMPL_MATH_FUNC2("pow", pow, pow) CIMPL_MATH_FUNC1("sin", sin, sin) *************** *** 167,171 **** PMATH_FUNC2("fmod", fmod) PMATH_FUNC2("hypot", hypot) ! PMATH_FUNC2("power", power) PMATH_FUNC2("pow", pow) PMATH_FUNC1("sin", sin) --- 167,171 ---- PMATH_FUNC2("fmod", fmod) PMATH_FUNC2("hypot", hypot) ! /*PMATH_FUNC2("power", power)*/ PMATH_FUNC2("pow", pow) PMATH_FUNC1("sin", sin) *************** *** 192,196 **** Psyco_DefineModuleFn(md, "fmod", METH_VARARGS, pmath_fmod); Psyco_DefineModuleFn(md, "hypot", METH_VARARGS, pmath_hypot); ! Psyco_DefineModuleFn(md, "power", METH_VARARGS, pmath_power); Psyco_DefineModuleFn(md, "pow", METH_VARARGS, pmath_pow); Psyco_DefineModuleFn(md, "sin", METH_VARARGS, pmath_sin); --- 192,196 ---- Psyco_DefineModuleFn(md, "fmod", METH_VARARGS, pmath_fmod); Psyco_DefineModuleFn(md, "hypot", METH_VARARGS, pmath_hypot); ! /*Psyco_DefineModuleFn(md, "power", METH_VARARGS, pmath_power);*/ Psyco_DefineModuleFn(md, "pow", METH_VARARGS, pmath_pow); Psyco_DefineModuleFn(md, "sin", METH_VARARGS, pmath_sin); |