Searched defs:overflow_exception (Results 1 - 2 of 2) sorted by relevance

/external/python/cpython2/Python/
H A Dpystrtod.c326 if overflow_exception is NULL then +-Py_HUGE_VAL is returned, and no Python
327 exception is raised. Otherwise, overflow_exception should point to
338 PyObject *overflow_exception)
360 else if (errno == ERANGE && fabs(x) >= 1.0 && overflow_exception)
361 PyErr_Format(overflow_exception,
336 PyOS_string_to_double(const char *s, char **endptr, PyObject *overflow_exception) argument
/external/python/cpython3/Python/
H A Dpystrtod.c327 if overflow_exception is NULL then +-Py_HUGE_VAL is returned, and no Python
328 exception is raised. Otherwise, overflow_exception should point to
339 PyObject *overflow_exception)
361 else if (errno == ERANGE && fabs(x) >= 1.0 && overflow_exception)
362 PyErr_Format(overflow_exception,
337 PyOS_string_to_double(const char *s, char **endptr, PyObject *overflow_exception) argument

Completed in 150 milliseconds