Searched refs:Py_IS_FINITE (Results 1 – 17 of 17) sorted by relevance
85 assert(Py_IS_FINITE(x)); in m_sinpi()270 if (!Py_IS_FINITE(x)) { in m_tgamma()372 if (!Py_IS_FINITE(x)) { in m_lgamma()611 if (Py_IS_FINITE(x) && Py_IS_FINITE(y)) { in m_remainder()708 if (Py_IS_FINITE(x)) { in m_log()740 if (!Py_IS_FINITE(x)) { in m_log2()785 if (Py_IS_FINITE(x)) { in m_log10()924 if (Py_IS_INFINITY(r) && Py_IS_FINITE(x)) { in math_1_to_whatever()933 if (Py_IS_FINITE(r) && errno && is_error(r)) in math_1_to_whatever()1021 if (Py_IS_FINITE(x) && Py_IS_FINITE(y)) in math_2()[all …]
160 if (Py_IS_FINITE(d)) { in special_type()183 if (!Py_IS_FINITE((z).real) || !Py_IS_FINITE((z).imag)) { \491 if (!Py_IS_FINITE(z.real) || !Py_IS_FINITE(z.imag)) { in cmath_cosh_impl()492 if (Py_IS_INFINITY(z.real) && Py_IS_FINITE(z.imag) && in cmath_cosh_impl()552 if (!Py_IS_FINITE(z.real) || !Py_IS_FINITE(z.imag)) { in cmath_exp_impl()553 if (Py_IS_INFINITY(z.real) && Py_IS_FINITE(z.imag) in cmath_exp_impl()571 (Py_IS_FINITE(z.real) || in cmath_exp_impl()729 if (!Py_IS_FINITE(z.real) || !Py_IS_FINITE(z.imag)) { in cmath_sinh_impl()730 if (Py_IS_INFINITY(z.real) && Py_IS_FINITE(z.imag) in cmath_sinh_impl()899 if (!Py_IS_FINITE(z.real) || !Py_IS_FINITE(z.imag)) { in cmath_tanh_impl()[all …]
1407 if (!Py_IS_FINITE(i)) { in encoder_encode_float()
128 #ifndef Py_IS_FINITE130 #define Py_IS_FINITE(X) isfinite(X) macro132 #define Py_IS_FINITE(X) finite(X) macro134 #define Py_IS_FINITE(X) (!Py_IS_INFINITY(X) && !Py_IS_NAN(X)) macro
79 assert(Py_IS_FINITE(x)); in sinpi()236 if (!Py_IS_FINITE(x)) { in m_tgamma()336 if (!Py_IS_FINITE(x)) { in m_lgamma()569 if (Py_IS_FINITE(x)) { in m_log()591 if (Py_IS_FINITE(x)) { in m_log10()699 if (Py_IS_FINITE(x)) in math_1()779 if (Py_IS_FINITE(x) && Py_IS_FINITE(y)) in math_2()1008 if (! Py_IS_FINITE(x)) { in math_fsum()1013 if (Py_IS_FINITE(xsave)) { in math_fsum()1095 if (!(Py_IS_FINITE(dx) && dx == floor(dx))) { in math_factorial()[all …]
78 if (Py_IS_FINITE(d)) { in special_type()101 if (!Py_IS_FINITE((z).real) || !Py_IS_FINITE((z).imag)) { \386 if (!Py_IS_FINITE(z.real) || !Py_IS_FINITE(z.imag)) { in c_cosh()387 if (Py_IS_INFINITY(z.real) && Py_IS_FINITE(z.imag) && in c_cosh()445 if (!Py_IS_FINITE(z.real) || !Py_IS_FINITE(z.imag)) { in c_exp()446 if (Py_IS_INFINITY(z.real) && Py_IS_FINITE(z.imag) in c_exp()464 (Py_IS_FINITE(z.real) || in c_exp()617 if (!Py_IS_FINITE(z.real) || !Py_IS_FINITE(z.imag)) { in c_sinh()618 if (Py_IS_INFINITY(z.real) && Py_IS_FINITE(z.imag) in c_sinh()781 if (!Py_IS_FINITE(z.real) || !Py_IS_FINITE(z.imag)) { in c_tanh()[all …]
13 #ifndef Py_IS_FINITE14 #define Py_IS_FINITE(X) (!Py_IS_INFINITY(X) && !Py_IS_NAN(X)) macro1926 if (!Py_IS_FINITE(i)) { in encoder_encode_float()
132 #ifndef Py_IS_FINITE134 #define Py_IS_FINITE(X) isfinite(X) macro136 #define Py_IS_FINITE(X) finite(X) macro138 #define Py_IS_FINITE(X) (!Py_IS_INFINITY(X) && !Py_IS_NAN(X)) macro
185 if (!Py_IS_FINITE(z.real) || !Py_IS_FINITE(z.imag)) { in _Py_c_abs()204 if (!Py_IS_FINITE(result)) in _Py_c_abs()751 return PyBool_FromLong((long)(Py_IS_FINITE(c.real) &&752 Py_IS_FINITE(c.imag)));
362 else if (!Py_IS_FINITE(i)) { in float_richcompare()840 if (!Py_IS_FINITE(x)) in float_is_integer_impl()880 return PyBool_FromLong((long)Py_IS_FINITE(x));1000 if (!Py_IS_FINITE(y)) in double_round()1020 if (!Py_IS_FINITE(z)) { in double_round()1068 if (!Py_IS_FINITE(x)) in float___round___impl()
196 if (!Py_IS_FINITE(z.real) || !Py_IS_FINITE(z.imag)) { in c_abs()215 if (!Py_IS_FINITE(result)) in c_abs()942 return PyBool_FromLong((long)(Py_IS_FINITE(c.real) &&943 Py_IS_FINITE(c.imag)));
430 else if (!Py_IS_FINITE(i)) { in float_richcompare()991 if (!Py_IS_FINITE(x)) in float_is_integer()1031 return PyBool_FromLong((long)Py_IS_FINITE(x));1137 assert(Py_IS_FINITE(x) && x != 0.0); in _Py_double_round()1250 if (!Py_IS_FINITE(y)) in _Py_double_round()1270 if (!Py_IS_FINITE(z)) { in _Py_double_round()
1038 if (!Py_IS_FINITE(v)) { in _Py_HashDouble()
192 #define Py_IS_FINITE(X) _finite(X) macro
226 #define Py_IS_FINITE(X) _finite(X) macro
92 if (!Py_IS_FINITE(v)) { in _Py_HashDouble()
2199 if (!Py_IS_FINITE(x) || x == 0.0) in builtin_round()