Searched refs:Py_IS_INFINITY (Results 1 – 13 of 13) sorted by relevance
113 #ifndef Py_IS_INFINITY115 # define Py_IS_INFINITY(X) isinf(X) macro117 # define Py_IS_INFINITY(X) ((X) && \ macro134 #define Py_IS_FINITE(X) (!Py_IS_INFINITY(X) && !Py_IS_NAN(X))
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 …]
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 …]
55 if (Py_IS_INFINITY(x)) { in _Py_acosh()93 if (Py_IS_NAN(x) || Py_IS_INFINITY(x)) { in _Py_asinh()
14 #define Py_IS_FINITE(X) (!Py_IS_INFINITY(X) && !Py_IS_NAN(X))
843 if (Py_IS_INFINITY(iw)) { in float_pow()858 if (Py_IS_INFINITY(iv)) { in float_pow()1014 return PyBool_FromLong((long)Py_IS_INFINITY(x));1383 if (Py_IS_NAN(x) || Py_IS_INFINITY(x)) in float_hex()1731 if (Py_IS_INFINITY(self)) { in float_as_integer_ratio()2396 if (Py_IS_INFINITY(y) && !Py_IS_INFINITY(x)) in _PyFloat_Pack4()
200 if (Py_IS_INFINITY(z.real)) { in c_abs()205 if (Py_IS_INFINITY(z.imag)) { in c_abs()
1034 if (Py_IS_INFINITY(v)) in _Py_HashDouble()
178 if (Py_IS_INFINITY(dval)) { in PyLong_FromDouble()
225 #define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X)) macro
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()
7577 - Issue #4575: Fix Py_IS_INFINITY macro to work correctly on x87 FPUs: it now
2432 pyport.h's default Py_IS_INFINITY definition now.