Searched refs:Py_NAN (Results 1 – 8 of 8) sorted by relevance
29 #if !defined(HAVE_ATANH) && !defined(Py_NAN)57 #ifdef Py_NAN in _Py_acosh()58 return Py_NAN; in _Py_acosh()156 #ifdef Py_NAN in _Py_atanh()157 return Py_NAN; in _Py_atanh()
276 #if !defined(PY_NO_SHORT_FLOAT_REPR) || defined(Py_NAN)284 return Py_NAN; in m_nan()301 return Py_NAN; /* tgamma(-inf) = nan, invalid */ in m_tgamma()314 return Py_NAN; /* negative integers n */ in m_tgamma()604 return Py_NAN; in m_atan2()641 return Py_NAN; in m_remainder()717 return Py_NAN; in m_remainder()741 return Py_NAN; /* log(-ve) = nan */ in m_log()749 return Py_NAN; /* log(-inf) = nan */ in m_log()773 return Py_NAN; /* log2(-inf) = nan, invalid-operation */ in m_log2()[all …]
109 #if !defined(PY_NO_SHORT_FLOAT_REPR) || defined(Py_NAN)117 return Py_NAN; in m_nan()194 #define N Py_NAN373 return Py_NAN; in c_atan2()1278 #if !defined(PY_NO_SHORT_FLOAT_REPR) || defined(Py_NAN) in cmath_exec()
158 #if !defined(Py_NAN) && !defined(Py_NO_NAN)160 #define Py_NAN (Py_HUGE_VAL * 0.) macro176 #define Py_NAN __icc_nan() macro179 #define Py_NAN (__nan_store.__icc_nan) macro
26 #ifdef Py_NAN27 #define Py_RETURN_NAN return PyFloat_FromDouble(Py_NAN)
84 #ifdef Py_NAN in _Py_parse_inf_or_nan()87 retval = negate ? -Py_NAN : Py_NAN; in _Py_parse_inf_or_nan()
118 r.real = r.imag = Py_NAN; in _Py_c_quot()204 return Py_NAN; in _Py_c_abs()
2450 #ifdef Py_NAN in _PyFloat_Unpack2()2451 return sign ? -Py_NAN : Py_NAN; in _PyFloat_Unpack2()