Searched refs:Py_NAN (Results 1 – 16 of 16) 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()
250 #if !defined(PY_NO_SHORT_FLOAT_REPR) || defined(Py_NAN)258 return Py_NAN; in m_nan()275 return Py_NAN; /* tgamma(-inf) = nan, invalid */ in m_tgamma()288 return Py_NAN; /* negative integers n */ in m_tgamma()578 return Py_NAN; in m_atan2()615 return Py_NAN; in m_remainder()691 return Py_NAN; in m_remainder()715 return Py_NAN; /* log(-ve) = nan */ in m_log()723 return Py_NAN; /* log(-inf) = nan */ in m_log()747 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()1293 #if !defined(PY_NO_SHORT_FLOAT_REPR) || defined(Py_NAN) in PyInit_cmath()
154 #if !defined(Py_NAN) && !defined(Py_NO_NAN)156 #define Py_NAN (Py_HUGE_VAL * 0.) macro172 #define Py_NAN __icc_nan() macro175 #define Py_NAN (__nan_store.__icc_nan) macro
30 #ifdef Py_NAN31 #define Py_RETURN_NAN return PyFloat_FromDouble(Py_NAN)
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)
48 #ifdef Py_NAN in _Py_acosh()49 return Py_NAN; in _Py_acosh()142 #ifdef Py_NAN in _Py_atanh()143 return Py_NAN; in _Py_atanh()
241 return Py_NAN; /* tgamma(-inf) = nan, invalid */ in m_tgamma()253 return Py_NAN; /* negative integers n */ in m_tgamma()535 return Py_NAN; in m_atan2()576 return Py_NAN; /* log(-ve) = nan */ in m_log()584 return Py_NAN; /* log(-inf) = nan */ in m_log()598 return Py_NAN; /* log10(-ve) = nan */ in m_log10()606 return Py_NAN; /* log10(-inf) = nan */ in m_log10()
112 #define N Py_NAN274 return Py_NAN; in c_atan2()
83 #ifdef Py_NAN in _Py_parse_inf_or_nan()86 retval = negate ? -Py_NAN : Py_NAN; in _Py_parse_inf_or_nan()
46 #ifdef Py_NAN in _Py_parse_inf_or_nan()49 retval = negate ? -Py_NAN : Py_NAN; in _Py_parse_inf_or_nan()
677 #ifdef Py_NAN in float_div()699 #ifdef Py_NAN in float_classic_div()719 #ifdef Py_NAN in float_rem()1536 x = Py_NAN; in float_fromhex()1735 #ifdef Py_NAN in float_as_integer_ratio()
122 r.real = r.imag = Py_NAN; in c_quot()212 return Py_NAN; in c_abs()
111 r.real = r.imag = Py_NAN; in _Py_c_quot()201 return Py_NAN; in _Py_c_abs()
2421 #ifdef Py_NAN in _PyFloat_Unpack2()2422 return sign ? -Py_NAN : Py_NAN; in _PyFloat_Unpack2()