Home
last modified time | relevance | path

Searched refs:Py_IS_FINITE (Results 1 – 8 of 8) sorted by relevance

/third_party/python/Include/
Dpymath.h132 #ifndef Py_IS_FINITE
134 #define Py_IS_FINITE(X) isfinite(X) macro
136 #define Py_IS_FINITE(X) finite(X) macro
138 #define Py_IS_FINITE(X) (!Py_IS_INFINITY(X) && !Py_IS_NAN(X)) macro
/third_party/python/Modules/
Dmathmodule.c111 assert(Py_IS_FINITE(x)); in m_sinpi()
296 if (!Py_IS_FINITE(x)) { in m_tgamma()
398 if (!Py_IS_FINITE(x)) { in m_lgamma()
637 if (Py_IS_FINITE(x) && Py_IS_FINITE(y)) { in m_remainder()
734 if (Py_IS_FINITE(x)) { in m_log()
766 if (!Py_IS_FINITE(x)) { in m_log2()
811 if (Py_IS_FINITE(x)) { in m_log10()
1044 if (Py_IS_INFINITY(r) && Py_IS_FINITE(x)) { in math_1_to_whatever()
1053 if (Py_IS_FINITE(r) && errno && is_error(r)) in math_1_to_whatever()
1135 if (Py_IS_FINITE(x) && Py_IS_FINITE(y)) in math_2()
[all …]
Dcmathmodule.c160 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 …]
D_json.c1348 if (!Py_IS_FINITE(i)) { in encoder_encode_float()
/third_party/python/PC/
Dpyconfig.h195 #define Py_IS_FINITE(X) _finite(X) macro
/third_party/python/Objects/
Dcomplexobject.c188 if (!Py_IS_FINITE(z.real) || !Py_IS_FINITE(z.imag)) { in _Py_c_abs()
207 if (!Py_IS_FINITE(result)) in _Py_c_abs()
Dfloatobject.c392 else if (!Py_IS_FINITE(i)) { in float_richcompare()
862 if (!Py_IS_FINITE(x)) in float_is_integer_impl()
999 if (!Py_IS_FINITE(y)) in double_round()
1019 if (!Py_IS_FINITE(z)) { in double_round()
1067 if (!Py_IS_FINITE(x)) in float___round___impl()
/third_party/python/Python/
Dpyhash.c98 if (!Py_IS_FINITE(v)) { in _Py_HashDouble()