Searched refs:absx (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Modules/ |
D | _math.c | 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() [all …]
|
D | mathmodule.c | 233 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 …]
|
/external/python/cpython3/Modules/ |
D | _math.c | 94 double absx = fabs(x); in _Py_asinh() local 99 if (absx < two_pow_m28) { /* |x| < 2**-28 */ in _Py_asinh() 102 if (absx > two_pow_p28) { /* |x| > 2**28 */ in _Py_asinh() 103 w = log(absx)+ln2; in _Py_asinh() 105 else if (absx > 2.0) { /* 2 < |x| < 2**28 */ in _Py_asinh() 106 w = log(2.0*absx + 1.0 / (sqrt(x*x + 1.0) + absx)); in _Py_asinh() 110 w = m_log1p(absx + t / (1.0 + sqrt(1.0 + t))); in _Py_asinh() 136 double absx; in _Py_atanh() local 142 absx = fabs(x); in _Py_atanh() 143 if (absx >= 1.) { /* |x| >= 1 */ in _Py_atanh() [all …]
|
D | mathmodule.c | 258 double absx, r, y, z, sqrtpow; in m_tgamma() local 284 absx = fabs(x); in m_tgamma() 287 if (absx < 1e-20) { in m_tgamma() 297 if (absx > 200.0) { in m_tgamma() 307 y = absx + lanczos_g_minus_half; in m_tgamma() 309 if (absx > lanczos_g_minus_half) { in m_tgamma() 314 double q = y - absx; in m_tgamma() 319 z = q - absx; in m_tgamma() 323 r = -pi / sinpi(absx) / absx * exp(y) / lanczos_sum(absx); in m_tgamma() 325 if (absx < 140.0) { in m_tgamma() [all …]
|
/external/python/cpython2/Python/ |
D | pymath.c | 72 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()
|
/external/python/cpython3/Python/ |
D | pymath.c | 72 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()
|
/external/wayland/cursor/ |
D | convert_font.c | 253 int absx = glyph->hotx + x; in get_glyph_pixel() local 256 if (absx < 0 || absx >= glyph->width || in get_glyph_pixel() 261 unsigned char block = glyph->data[absy * stride + (absx/8)]; in get_glyph_pixel() 262 int idx = absx % 8; in get_glyph_pixel()
|
/external/swiftshader/src/Shader/ |
D | ShaderCore.cpp | 350 Float4 absx = Abs(x); in arcsin() local 351 …urn As<Float4>(As<Int4>(half_pi - Sqrt(Float4(1.0f) - absx) * (a0 + absx * (a1 + absx * (a2 + absx… in arcsin() 381 Float4 absx = Abs(x); in arctan() local 382 Int4 O = CmpNLT(absx, Float4(1.0f)); in arctan() 383 …Float4 y = As<Float4>((O & As<Int4>(Float4(1.0f) / absx)) | (~O & As<Int4>(absx))); // FIXME: Vect… in arctan()
|