Searched refs:Py_IS_INFINITY (Results 1 – 13 of 13) sorted by relevance
117 #ifndef Py_IS_INFINITY119 # define Py_IS_INFINITY(X) isinf(X) macro121 # define Py_IS_INFINITY(X) ((X) && \ macro138 #define Py_IS_FINITE(X) (!Py_IS_INFINITY(X) && !Py_IS_NAN(X))
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 …]
324 if (Py_IS_INFINITY(r)) in m_tgamma()381 if (Py_IS_INFINITY(r)) in m_tgamma()430 if (Py_IS_INFINITY(r)) in m_lgamma()605 if (Py_IS_INFINITY(y)) { in m_atan2()606 if (Py_IS_INFINITY(x)) { in m_atan2()617 if (Py_IS_INFINITY(x) || y == 0.) { in m_atan2()716 if (Py_IS_INFINITY(x)) { in m_remainder()719 assert(Py_IS_INFINITY(y)); in m_remainder()1044 if (Py_IS_INFINITY(r) && Py_IS_FINITE(x)) { in math_1_to_whatever()1134 else if (Py_IS_INFINITY(r)) { in math_2()[all …]
64 if (Py_IS_INFINITY(x)) { in _Py_acosh()104 if (Py_IS_NAN(x) || Py_IS_INFINITY(x)) { in _Py_asinh()
732 if (Py_IS_INFINITY(iw)) { in float_pow()747 if (Py_IS_INFINITY(iv)) { in float_pow()1214 if (Py_IS_NAN(x) || Py_IS_INFINITY(x)) in float_hex_impl()1549 if (Py_IS_INFINITY(self_double)) { in float_as_integer_ratio_impl()2093 else if (Py_IS_INFINITY(x)) { in _PyFloat_Pack2()2266 if (Py_IS_INFINITY(y) && !Py_IS_INFINITY(x)) in _PyFloat_Pack4()
192 if (Py_IS_INFINITY(z.real)) { in _Py_c_abs()197 if (Py_IS_INFINITY(z.imag)) { in _Py_c_abs()
314 if (Py_IS_INFINITY(dval)) { in PyLong_FromDouble()
194 #define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X)) macro
884 if (Py_IS_NAN(val) || Py_IS_INFINITY(val)) in PyOS_double_to_string()905 } else if (Py_IS_INFINITY(val)) { in PyOS_double_to_string()
99 if (Py_IS_INFINITY(v)) in _Py_HashDouble()
78 if ((PyFloat_CheckExact(obj) && Py_IS_INFINITY(PyFloat_AS_DOUBLE(obj))) || in append_repr()
2264 if (Py_IS_NAN(x) || Py_IS_INFINITY(x)) { in PyDecType_FromFloatExact()
15233 - Issue #4575: Fix Py_IS_INFINITY macro to work correctly on x87 FPUs:19816 pyport.h's default Py_IS_INFINITY definition now.