/external/python/cpython3/Modules/ |
D | mathmodule.c | 298 if (Py_IS_INFINITY(r)) in m_tgamma() 355 if (Py_IS_INFINITY(r)) in m_tgamma() 404 if (Py_IS_INFINITY(r)) in m_lgamma() 579 if (Py_IS_INFINITY(y)) { in m_atan2() 580 if (Py_IS_INFINITY(x)) { in m_atan2() 591 if (Py_IS_INFINITY(x) || y == 0.) { in m_atan2() 690 if (Py_IS_INFINITY(x)) { in m_remainder() 693 assert(Py_IS_INFINITY(y)); in m_remainder() 924 if (Py_IS_INFINITY(r) && Py_IS_FINITE(x)) { in math_1_to_whatever() 1020 else if (Py_IS_INFINITY(r)) { in math_2() [all …]
|
D | cmathmodule.c | 374 if (Py_IS_INFINITY(z.imag)) { in c_atan2() 375 if (Py_IS_INFINITY(z.real)) { in c_atan2() 386 if (Py_IS_INFINITY(z.real) || z.imag == 0.) { in c_atan2() 492 if (Py_IS_INFINITY(z.real) && Py_IS_FINITE(z.imag) && in cmath_cosh_impl() 509 if (Py_IS_INFINITY(z.imag) && !Py_IS_NAN(z.real)) in cmath_cosh_impl() 527 if (Py_IS_INFINITY(r.real) || Py_IS_INFINITY(r.imag)) in cmath_cosh_impl() 553 if (Py_IS_INFINITY(z.real) && Py_IS_FINITE(z.imag) in cmath_exp_impl() 570 if (Py_IS_INFINITY(z.imag) && in cmath_exp_impl() 572 (Py_IS_INFINITY(z.real) && z.real > 0))) in cmath_exp_impl() 589 if (Py_IS_INFINITY(r.real) || Py_IS_INFINITY(r.imag)) in cmath_exp_impl() [all …]
|
D | _math.c | 64 if (Py_IS_INFINITY(x)) { in _Py_acosh() 104 if (Py_IS_NAN(x) || Py_IS_INFINITY(x)) { in _Py_asinh()
|
/external/python/cpython2/Include/ |
D | pymath.h | 113 #ifndef Py_IS_INFINITY 115 # define Py_IS_INFINITY(X) isinf(X) macro 117 # define Py_IS_INFINITY(X) ((X) && \ macro 134 #define Py_IS_FINITE(X) (!Py_IS_INFINITY(X) && !Py_IS_NAN(X))
|
/external/python/cpython2/Modules/ |
D | mathmodule.c | 263 if (Py_IS_INFINITY(r)) in m_tgamma() 320 if (Py_IS_INFINITY(r)) in m_tgamma() 373 if (Py_IS_INFINITY(r)) in m_lgamma() 536 if (Py_IS_INFINITY(y)) { in m_atan2() 537 if (Py_IS_INFINITY(x)) { in m_atan2() 548 if (Py_IS_INFINITY(x) || y == 0.) { in m_atan2() 698 else if (Py_IS_INFINITY(r)) { in math_1() 778 else if (Py_IS_INFINITY(r)) { in math_2() 1018 if (Py_IS_INFINITY(xsave)) in math_fsum() 1163 if (Py_IS_NAN(x) || Py_IS_INFINITY(x) || !x) { in math_frexp() [all …]
|
D | cmathmodule.c | 275 if (Py_IS_INFINITY(z.imag)) { in c_atan2() 276 if (Py_IS_INFINITY(z.real)) { in c_atan2() 287 if (Py_IS_INFINITY(z.real) || z.imag == 0.) { in c_atan2() 387 if (Py_IS_INFINITY(z.real) && Py_IS_FINITE(z.imag) && in c_cosh() 404 if (Py_IS_INFINITY(z.imag) && !Py_IS_NAN(z.real)) in c_cosh() 422 if (Py_IS_INFINITY(r.real) || Py_IS_INFINITY(r.imag)) in c_cosh() 446 if (Py_IS_INFINITY(z.real) && Py_IS_FINITE(z.imag) in c_exp() 463 if (Py_IS_INFINITY(z.imag) && in c_exp() 465 (Py_IS_INFINITY(z.real) && z.real > 0))) in c_exp() 482 if (Py_IS_INFINITY(r.real) || Py_IS_INFINITY(r.imag)) in c_exp() [all …]
|
D | _math.c | 55 if (Py_IS_INFINITY(x)) { in _Py_acosh() 93 if (Py_IS_NAN(x) || Py_IS_INFINITY(x)) { in _Py_asinh()
|
D | _json.c | 14 #define Py_IS_FINITE(X) (!Py_IS_INFINITY(X) && !Py_IS_NAN(X))
|
/external/python/cpython3/Include/ |
D | pymath.h | 117 #ifndef Py_IS_INFINITY 119 # define Py_IS_INFINITY(X) isinf(X) macro 121 # define Py_IS_INFINITY(X) ((X) && \ macro 138 #define Py_IS_FINITE(X) (!Py_IS_INFINITY(X) && !Py_IS_NAN(X))
|
/external/python/cpython3/Objects/ |
D | floatobject.c | 708 if (Py_IS_INFINITY(iw)) { in float_pow() 723 if (Py_IS_INFINITY(iv)) { in float_pow() 862 return PyBool_FromLong((long)Py_IS_INFINITY(x)); 1215 if (Py_IS_NAN(x) || Py_IS_INFINITY(x)) in float_hex_impl() 1550 if (Py_IS_INFINITY(self_double)) { in float_as_integer_ratio_impl() 2064 else if (Py_IS_INFINITY(x)) { in _PyFloat_Pack2() 2237 if (Py_IS_INFINITY(y) && !Py_IS_INFINITY(x)) in _PyFloat_Pack4()
|
D | complexobject.c | 189 if (Py_IS_INFINITY(z.real)) { in _Py_c_abs() 194 if (Py_IS_INFINITY(z.imag)) { in _Py_c_abs()
|
D | longobject.c | 347 if (Py_IS_INFINITY(dval)) { in PyLong_FromDouble()
|
/external/python/cpython2/Objects/ |
D | floatobject.c | 842 if (Py_IS_INFINITY(iw)) { in float_pow() 857 if (Py_IS_INFINITY(iv)) { in float_pow() 1013 return PyBool_FromLong((long)Py_IS_INFINITY(x)); 1382 if (Py_IS_NAN(x) || Py_IS_INFINITY(x)) in float_hex() 1730 if (Py_IS_INFINITY(self)) { in float_as_integer_ratio() 2395 if (Py_IS_INFINITY(y) && !Py_IS_INFINITY(x)) in _PyFloat_Pack4()
|
D | complexobject.c | 200 if (Py_IS_INFINITY(z.real)) { in c_abs() 205 if (Py_IS_INFINITY(z.imag)) { in c_abs()
|
D | object.c | 1039 if (Py_IS_INFINITY(v)) in _Py_HashDouble()
|
D | longobject.c | 178 if (Py_IS_INFINITY(dval)) { in PyLong_FromDouble()
|
/external/python/cpython3/PC/ |
D | pyconfig.h | 191 #define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X)) macro
|
/external/python/cpython2/PC/ |
D | pyconfig.h | 225 #define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X)) macro
|
/external/python/cpython3/Python/ |
D | pystrtod.c | 885 if (Py_IS_NAN(val) || Py_IS_INFINITY(val)) in PyOS_double_to_string() 906 } else if (Py_IS_INFINITY(val)) { in PyOS_double_to_string()
|
D | pyhash.c | 93 if (Py_IS_INFINITY(v)) in _Py_HashDouble()
|
/external/python/cpython2/Python/ |
D | pystrtod.c | 825 if (Py_IS_NAN(val) || Py_IS_INFINITY(val)) in PyOS_double_to_string() 846 } else if (Py_IS_INFINITY(val)) { in PyOS_double_to_string()
|
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 2120 if (Py_IS_NAN(x) || Py_IS_INFINITY(x)) { in PyDecType_FromFloatExact()
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7a1.rst | 970 Fix Py_IS_INFINITY macro to work correctly on x87 FPUs: it now forces its
|
/external/python/cpython3/Misc/ |
D | HISTORY | 15233 - Issue #4575: Fix Py_IS_INFINITY macro to work correctly on x87 FPUs: 19816 pyport.h's default Py_IS_INFINITY definition now.
|
/external/python/cpython2/Misc/ |
D | HISTORY | 2432 pyport.h's default Py_IS_INFINITY definition now.
|