Lines Matching defs:arg
1039 math_1_to_whatever(PyObject *arg, double (*func) (double),
1044 x = PyFloat_AsDouble(arg);
1051 "math domain error"); /* invalid arg */
1075 math_1a(PyObject *arg, double (*func) (double))
1078 x = PyFloat_AsDouble(arg);
1116 math_1(PyObject *arg, double (*func) (double), int can_overflow)
1118 return math_1_to_whatever(arg, func, PyFloat_FromDouble, can_overflow);
2096 n as arg: object
2105 math_factorial(PyObject *module, PyObject *arg)
2112 x = PyLong_AsLongAndOverflow(arg, &overflow);
2315 loghelper(PyObject* arg, double (*func)(double), const char *funcname)
2318 if (PyLong_Check(arg)) {
2323 if (Py_SIZE(arg) <= 0) {
2329 x = PyLong_AsDouble(arg);
2336 x = _PyLong_Frexp((PyLongObject *)arg, &e);
2349 return math_1(arg, func, 0);