Home
last modified time | relevance | path

Searched refs:Py_HUGE_VAL (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Include/
Dpymath.h149 #ifndef Py_HUGE_VAL
150 #define Py_HUGE_VAL HUGE_VAL macro
160 #define Py_NAN (Py_HUGE_VAL * 0.)
214 (X) == Py_HUGE_VAL || \
215 (X) == -Py_HUGE_VAL))
Dpyport.h340 if ((X) == Py_HUGE_VAL || (X) == -Py_HUGE_VAL) \
368 if ((X) == Py_HUGE_VAL || (X) == -Py_HUGE_VAL) \
377 if ((X) == Py_HUGE_VAL || (X) == -Py_HUGE_VAL || \
378 (Y) == Py_HUGE_VAL || (Y) == -Py_HUGE_VAL) { \
Dfloatobject.h32 return PyFloat_FromDouble(Py_HUGE_VAL); \
34 return PyFloat_FromDouble(-Py_HUGE_VAL); \
/third_party/python/Modules/
Dmathmodule.c269 return Py_HUGE_VAL; in m_inf()
307 return copysign(Py_HUGE_VAL, x); in m_tgamma()
338 return Py_HUGE_VAL; in m_tgamma()
402 return Py_HUGE_VAL; /* lgamma(+-inf) = +inf */ in m_lgamma()
409 return Py_HUGE_VAL; /* integers n <= 0 */ in m_lgamma()
739 return -Py_HUGE_VAL; /* log(0) = -inf */ in m_log()
800 return -Py_HUGE_VAL; /* log2(0) = -inf, divide-by-zero */ in m_log2()
816 return -Py_HUGE_VAL; /* log10(0) = -inf */ in m_log10()
2210 r = copysign(Py_HUGE_VAL, x); in math_ldexp_impl()
Dcmathmodule.c96 return Py_HUGE_VAL; in m_inf()
193 #define INF Py_HUGE_VAL
/third_party/python/Python/
Dpystrtod.c82 retval = negate ? -Py_HUGE_VAL : Py_HUGE_VAL; in _Py_parse_inf_or_nan()
/third_party/python/Doc/c-api/
Dconversion.rst71 if ``overflow_exception`` is ``NULL`` return ``Py_HUGE_VAL`` (with
/third_party/python/Objects/
Dfloatobject.c2446 return sign ? -Py_HUGE_VAL : Py_HUGE_VAL; in _PyFloat_Unpack2()
/third_party/python/Misc/
DHISTORY23119 Py_HUGE_VAL. Some platforms have incorrect definitions for HUGE_VAL.
23122 HUGE_VAL incorrectly, you'll need to #define Py_HUGE_VAL to something