Lines Matching refs:absx
91 double absx = fabs(x); in _Py_asinh() local
96 if (absx < two_pow_m28) { /* |x| < 2**-28 */ in _Py_asinh()
99 if (absx > two_pow_p28) { /* |x| > 2**28 */ in _Py_asinh()
100 w = log(absx)+ln2; in _Py_asinh()
102 else if (absx > 2.0) { /* 2 < |x| < 2**28 */ in _Py_asinh()
103 w = log(2.0*absx + 1.0 / (sqrt(x*x + 1.0) + absx)); in _Py_asinh()
107 w = m_log1p(absx + t / (1.0 + sqrt(1.0 + t))); in _Py_asinh()
133 double absx; in _Py_atanh() local
139 absx = fabs(x); in _Py_atanh()
140 if (absx >= 1.) { /* |x| >= 1 */ in _Py_atanh()
148 if (absx < two_pow_m28) { /* |x| < 2**-28 */ in _Py_atanh()
151 if (absx < 0.5) { /* |x| < 0.5 */ in _Py_atanh()
152 t = absx+absx; in _Py_atanh()
153 t = 0.5 * m_log1p(t + t*absx / (1.0 - absx)); in _Py_atanh()
156 t = 0.5 * m_log1p((absx + absx) / (1.0 - absx)); in _Py_atanh()