Lines Matching refs:Py_IS_INFINITY
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()
730 if (Py_IS_INFINITY(z.real) && Py_IS_FINITE(z.imag) in cmath_sinh_impl()
747 if (Py_IS_INFINITY(z.imag) && !Py_IS_NAN(z.real)) in cmath_sinh_impl()
763 if (Py_IS_INFINITY(r.real) || Py_IS_INFINITY(r.imag)) in cmath_sinh_impl()
900 if (Py_IS_INFINITY(z.real) && Py_IS_FINITE(z.imag) in cmath_tanh_impl()
919 if (Py_IS_INFINITY(z.imag) && Py_IS_FINITE(z.real)) in cmath_tanh_impl()
1077 if (Py_IS_INFINITY(r) && (Py_IS_FINITE(phi) in cmath_rect_impl()
1094 if (r != 0. && !Py_IS_NAN(r) && Py_IS_INFINITY(phi)) in cmath_rect_impl()
1154 return PyBool_FromLong(Py_IS_INFINITY(z.real) || in cmath_isinf_impl()
1155 Py_IS_INFINITY(z.imag)); in cmath_isinf_impl()
1210 if (Py_IS_INFINITY(a.real) || Py_IS_INFINITY(a.imag) || in cmath_isclose_impl()
1211 Py_IS_INFINITY(b.real) || Py_IS_INFINITY(b.imag)) { in cmath_isclose_impl()