Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Dpymath.h145 #ifndef Py_HUGE_VAL
146 #define Py_HUGE_VAL HUGE_VAL macro
156 #define Py_NAN (Py_HUGE_VAL * 0.)
210 (X) == Py_HUGE_VAL || \
211 (X) == -Py_HUGE_VAL))
Dpyport.h478 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) { \
Dfloatobject.h36 return PyFloat_FromDouble(Py_HUGE_VAL); \
38 return PyFloat_FromDouble(-Py_HUGE_VAL); \
/external/python/cpython3/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.h321 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) { \
Dfloatobject.h32 return PyFloat_FromDouble(Py_HUGE_VAL); \
34 return PyFloat_FromDouble(-Py_HUGE_VAL); \
/external/python/cpython3/Modules/
Dmathmodule.c243 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()
Dcmathmodule.c96 return Py_HUGE_VAL; in m_inf()
193 #define INF Py_HUGE_VAL
/external/python/cpython2/Modules/
Dmathmodule.c277 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()
Dcmathmodule.c111 #define INF Py_HUGE_VAL
/external/python/cpython3/Python/
Dpystrtod.c81 retval = negate ? -Py_HUGE_VAL : Py_HUGE_VAL; in _Py_parse_inf_or_nan()
/external/python/cpython2/Python/
Dpystrtod.c44 retval = negate ? -Py_HUGE_VAL : Py_HUGE_VAL; in _Py_parse_inf_or_nan()
/external/python/cpython3/Doc/c-api/
Dconversion.rst75 if ``overflow_exception`` is ``NULL`` return ``Py_HUGE_VAL`` (with
/external/python/cpython2/Doc/c-api/
Dconversion.rst75 if ``overflow_exception`` is ``NULL`` return ``Py_HUGE_VAL`` (with
/external/python/cpython3/Objects/
Dfloatobject.c2417 return sign ? -Py_HUGE_VAL : Py_HUGE_VAL; in _PyFloat_Unpack2()
/external/python/cpython2/
DREADME360 least up to 3.4.3). To work around it, define Py_HUGE_VAL as
363 make CPPFLAGS='-D"Py_HUGE_VAL=HUGE_VAL()" -I. -I$(srcdir)/Include'
364 ./python setup.py CPPFLAGS='-D"Py_HUGE_VAL=HUGE_VAL()"'
/external/python/cpython2/Objects/
Dfloatobject.c1527 x = Py_HUGE_VAL; in float_fromhex()
/external/python/cpython2/Misc/
DHISTORY5735 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
/external/python/cpython3/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