Home
last modified time | relevance | path

Searched refs:absx (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_math.c92 double absx = fabs(x); in _Py_asinh() local
97 if (absx < two_pow_m28) { /* |x| < 2**-28 */ in _Py_asinh()
100 if (absx > two_pow_p28) { /* |x| > 2**28 */ in _Py_asinh()
101 w = log(absx)+ln2; in _Py_asinh()
103 else if (absx > 2.0) { /* 2 < |x| < 2**28 */ in _Py_asinh()
104 w = log(2.0*absx + 1.0 / (sqrt(x*x + 1.0) + absx)); in _Py_asinh()
108 w = m_log1p(absx + t / (1.0 + sqrt(1.0 + t))); in _Py_asinh()
134 double absx; in _Py_atanh() local
140 absx = fabs(x); in _Py_atanh()
141 if (absx >= 1.) { /* |x| >= 1 */ in _Py_atanh()
[all …]
Dmathmodule.c233 double absx, r, y, z, sqrtpow; in m_tgamma() local
258 absx = fabs(x); in m_tgamma()
261 if (absx < 1e-20) { in m_tgamma()
271 if (absx > 200.0) { in m_tgamma()
281 y = absx + lanczos_g_minus_half; in m_tgamma()
283 if (absx > lanczos_g_minus_half) { in m_tgamma()
288 double q = y - absx; in m_tgamma()
293 z = q - absx; in m_tgamma()
297 r = -pi / sinpi(absx) / absx * exp(y) / lanczos_sum(absx); in m_tgamma()
299 if (absx < 140.0) { in m_tgamma()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_math.c92 double absx = fabs(x); in _Py_asinh() local
97 if (absx < two_pow_m28) { /* |x| < 2**-28 */ in _Py_asinh()
100 if (absx > two_pow_p28) { /* |x| > 2**28 */ in _Py_asinh()
101 w = log(absx)+ln2; in _Py_asinh()
103 else if (absx > 2.0) { /* 2 < |x| < 2**28 */ in _Py_asinh()
104 w = log(2.0*absx + 1.0 / (sqrt(x*x + 1.0) + absx)); in _Py_asinh()
108 w = m_log1p(absx + t / (1.0 + sqrt(1.0 + t))); in _Py_asinh()
134 double absx; in _Py_atanh() local
140 absx = fabs(x); in _Py_atanh()
141 if (absx >= 1.) { /* |x| >= 1 */ in _Py_atanh()
[all …]
Dmathmodule.c233 double absx, r, y, z, sqrtpow; in m_tgamma() local
258 absx = fabs(x); in m_tgamma()
261 if (absx < 1e-20) { in m_tgamma()
271 if (absx > 200.0) { in m_tgamma()
281 y = absx + lanczos_g_minus_half; in m_tgamma()
283 if (absx > lanczos_g_minus_half) { in m_tgamma()
288 double q = y - absx; in m_tgamma()
293 z = q - absx; in m_tgamma()
297 r = -pi / sinpi(absx) / absx * exp(y) / lanczos_sum(absx); in m_tgamma()
299 if (absx < 140.0) { in m_tgamma()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dpymath.c72 double absx, y; in round() local
73 absx = fabs(x); in round()
74 y = floor(absx); in round()
75 if (absx - y >= 0.5) in round()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dpymath.c72 double absx, y; in round() local
73 absx = fabs(x); in round()
74 y = floor(absx); in round()
75 if (absx - y >= 0.5) in round()