Searched refs:Py_HUGE_VAL (Results 1 – 9 of 9) sorted by relevance
149 #ifndef Py_HUGE_VAL150 #define Py_HUGE_VAL HUGE_VAL macro160 #define Py_NAN (Py_HUGE_VAL * 0.)214 (X) == Py_HUGE_VAL || \215 (X) == -Py_HUGE_VAL))
340 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) { \
32 return PyFloat_FromDouble(Py_HUGE_VAL); \34 return PyFloat_FromDouble(-Py_HUGE_VAL); \
269 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()
96 return Py_HUGE_VAL; in m_inf()193 #define INF Py_HUGE_VAL
82 retval = negate ? -Py_HUGE_VAL : Py_HUGE_VAL; in _Py_parse_inf_or_nan()
71 if ``overflow_exception`` is ``NULL`` return ``Py_HUGE_VAL`` (with
2446 return sign ? -Py_HUGE_VAL : Py_HUGE_VAL; in _PyFloat_Unpack2()
23119 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