Lines Matching refs:absx
102 double absx = fabs(x); in _Py_asinh() local
107 if (absx < two_pow_m28) { /* |x| < 2**-28 */ in _Py_asinh()
110 if (absx > two_pow_p28) { /* |x| > 2**28 */ in _Py_asinh()
111 w = log(absx) + ln2; in _Py_asinh()
113 else if (absx > 2.0) { /* 2 < |x| < 2**28 */ in _Py_asinh()
114 w = log(2.0 * absx + 1.0 / (sqrt(x * x + 1.0) + absx)); in _Py_asinh()
118 w = m_log1p(absx + t / (1.0 + sqrt(1.0 + t))); in _Py_asinh()
147 double absx; in _Py_atanh() local
153 absx = fabs(x); in _Py_atanh()
154 if (absx >= 1.) { /* |x| >= 1 */ in _Py_atanh()
162 if (absx < two_pow_m28) { /* |x| < 2**-28 */ in _Py_atanh()
165 if (absx < 0.5) { /* |x| < 0.5 */ in _Py_atanh()
166 t = absx+absx; in _Py_atanh()
167 t = 0.5 * m_log1p(t + t*absx / (1.0 - absx)); in _Py_atanh()
170 t = 0.5 * m_log1p((absx + absx) / (1.0 - absx)); in _Py_atanh()