Searched refs:Py_HUGE_VAL (Results 1 – 19 of 19) sorted by relevance
145 #ifndef Py_HUGE_VAL146 #define Py_HUGE_VAL HUGE_VAL macro156 #define Py_NAN (Py_HUGE_VAL * 0.)210 (X) == Py_HUGE_VAL || \211 (X) == -Py_HUGE_VAL))
478 if ((X) == Py_HUGE_VAL || (X) == -Py_HUGE_VAL) \506 if ((X) == Py_HUGE_VAL || (X) == -Py_HUGE_VAL) \515 if ((X) == Py_HUGE_VAL || (X) == -Py_HUGE_VAL || \516 (Y) == Py_HUGE_VAL || (Y) == -Py_HUGE_VAL) { \
36 return PyFloat_FromDouble(Py_HUGE_VAL); \38 return PyFloat_FromDouble(-Py_HUGE_VAL); \
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))
321 if ((X) == Py_HUGE_VAL || (X) == -Py_HUGE_VAL) \349 if ((X) == Py_HUGE_VAL || (X) == -Py_HUGE_VAL) \358 if ((X) == Py_HUGE_VAL || (X) == -Py_HUGE_VAL || \359 (Y) == Py_HUGE_VAL || (Y) == -Py_HUGE_VAL) { \
32 return PyFloat_FromDouble(Py_HUGE_VAL); \34 return PyFloat_FromDouble(-Py_HUGE_VAL); \
243 return Py_HUGE_VAL; in m_inf()281 return copysign(Py_HUGE_VAL, x); in m_tgamma()312 return Py_HUGE_VAL; in m_tgamma()376 return Py_HUGE_VAL; /* lgamma(+-inf) = +inf */ in m_lgamma()383 return Py_HUGE_VAL; /* integers n <= 0 */ in m_lgamma()713 return -Py_HUGE_VAL; /* log(0) = -inf */ in m_log()774 return -Py_HUGE_VAL; /* log2(0) = -inf, divide-by-zero */ in m_log2()790 return -Py_HUGE_VAL; /* log10(0) = -inf */ in m_log10()1823 r = copysign(Py_HUGE_VAL, x); in math_ldexp_impl()
96 return Py_HUGE_VAL; in m_inf()193 #define INF Py_HUGE_VAL
277 return Py_HUGE_VAL; in m_tgamma()340 return Py_HUGE_VAL; /* lgamma(+-inf) = +inf */ in m_lgamma()347 return Py_HUGE_VAL; /* integers n <= 0 */ in m_lgamma()574 return -Py_HUGE_VAL; /* log(0) = -inf */ in m_log()596 return -Py_HUGE_VAL; /* log10(0) = -inf */ in m_log10()1213 r = copysign(Py_HUGE_VAL, x); in math_ldexp()
111 #define INF Py_HUGE_VAL
81 retval = negate ? -Py_HUGE_VAL : Py_HUGE_VAL; in _Py_parse_inf_or_nan()
44 retval = negate ? -Py_HUGE_VAL : Py_HUGE_VAL; in _Py_parse_inf_or_nan()
75 if ``overflow_exception`` is ``NULL`` return ``Py_HUGE_VAL`` (with
2417 return sign ? -Py_HUGE_VAL : Py_HUGE_VAL; in _PyFloat_Unpack2()
360 least up to 3.4.3). To work around it, define Py_HUGE_VAL as363 make CPPFLAGS='-D"Py_HUGE_VAL=HUGE_VAL()" -I. -I$(srcdir)/Include'364 ./python setup.py CPPFLAGS='-D"Py_HUGE_VAL=HUGE_VAL()"'
1527 x = Py_HUGE_VAL; in float_fromhex()
5735 Py_HUGE_VAL. Some platforms have incorrect definitions for HUGE_VAL.5738 HUGE_VAL incorrectly, you'll need to #define Py_HUGE_VAL to something
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