Searched refs:can_overflow (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Modules/ |
D | mathmodule.c | 909 int can_overflow) in math_1_to_whatever() argument 925 if (can_overflow) in math_1_to_whatever() 988 math_1(PyObject *arg, double (*func) (double), int can_overflow) in math_1() argument 990 return math_1_to_whatever(arg, func, PyFloat_FromDouble, can_overflow); in math_1() 994 math_1_to_int(PyObject *arg, double (*func) (double), int can_overflow) in math_1_to_int() argument 996 return math_1_to_whatever(arg, func, PyLong_FromDouble, can_overflow); in math_1_to_int() 1032 #define FUNC1(funcname, func, can_overflow, docstring) \ argument 1034 return math_1(args, func, can_overflow); \
|
/external/python/cpython2/Modules/ |
D | mathmodule.c | 682 math_1(PyObject *arg, double (*func) (double), int can_overflow) in math_1() argument 700 errno = can_overflow ? ERANGE : EDOM; in math_1() 790 #define FUNC1(funcname, func, can_overflow, docstring) \ argument 792 return math_1(args, func, can_overflow); \
|