Searched refs:Py_HUGE_VAL (Results 1 – 10 of 10) 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); \
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
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
359 least up to 3.4.3). To work around it, define Py_HUGE_VAL as362 make CPPFLAGS='-D"Py_HUGE_VAL=HUGE_VAL()" -I. -I$(srcdir)/Include'363 ./python setup.py CPPFLAGS='-D"Py_HUGE_VAL=HUGE_VAL()"'
1528 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