/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_csinhf.c | 60 return (CMPLXF(sinhf(x), y)); in csinhf() 62 return (CMPLXF(sinhf(x) * cosf(y), coshf(x) * sinf(y))); in csinhf() 68 return (CMPLXF(copysignf(h, x) * cosf(y), h * sinf(y))); in csinhf() 71 z = __ldexp_cexpf(CMPLXF(fabsf(x), y), -1); in csinhf() 72 return (CMPLXF(crealf(z) * copysignf(1, x), cimagf(z))); in csinhf() 76 return (CMPLXF(h * cosf(y), h * h * sinf(y))); in csinhf() 81 return (CMPLXF(x, y - y)); in csinhf() 84 return (CMPLXF(x + x, y)); in csinhf() 87 return (CMPLXF(y - y, y - y)); in csinhf() 91 return (CMPLXF(x, y - y)); in csinhf() [all …]
|
D | s_ccoshf.c | 60 return (CMPLXF(coshf(x), x * y)); in ccoshf() 62 return (CMPLXF(coshf(x) * cosf(y), sinhf(x) * sinf(y))); in ccoshf() 68 return (CMPLXF(h * cosf(y), copysignf(h, x) * sinf(y))); in ccoshf() 71 z = __ldexp_cexpf(CMPLXF(fabsf(x), y), -1); in ccoshf() 72 return (CMPLXF(crealf(z), cimagf(z) * copysignf(1, x))); in ccoshf() 76 return (CMPLXF(h * h * cosf(y), h * sinf(y))); in ccoshf() 81 return (CMPLXF(y - y, x * copysignf(0, y))); in ccoshf() 84 return (CMPLXF(x * x, copysignf(0, x) * y)); in ccoshf() 87 return (CMPLXF(y - y, x * (y - y))); in ccoshf() 91 return (CMPLXF(INFINITY, x * (y - y))); in ccoshf() [all …]
|
D | catrigf.c | 161 return (CMPLXF(x, y + y)); in casinhf() 163 return (CMPLXF(y, x + x)); in casinhf() 165 return (CMPLXF(x + x, y)); in casinhf() 166 return (CMPLXF(nan_mix(x, y), nan_mix(x, y))); in casinhf() 174 return (CMPLXF(copysignf(crealf(w), x), in casinhf() 191 return (CMPLXF(copysignf(rx, x), copysignf(ry, y))); in casinhf() 197 float complex w = casinhf(CMPLXF(cimagf(z), crealf(z))); in casinf() 199 return (CMPLXF(cimagf(w), crealf(w))); in casinf() 219 return (CMPLXF(y + y, -INFINITY)); in cacosf() 221 return (CMPLXF(x + x, -y)); in cacosf() [all …]
|
D | s_csqrtf.c | 48 return (CMPLXF(0, b)); in csqrtf() 50 return (CMPLXF(INFINITY, b)); in csqrtf() 53 return (CMPLXF(a + 0.0L + t, a + 0.0L + t)); /* NaN + NaN i */ in csqrtf() 63 return (CMPLXF(fabsf(b - b), copysignf(a, b))); in csqrtf() 65 return (CMPLXF(a, copysignf(b - b, b))); in csqrtf() 69 return (CMPLXF(b + 0.0L + t, b + 0.0L + t)); /* NaN + NaN i */ in csqrtf() 79 return (CMPLXF(t, b / (2 * t))); in csqrtf() 82 return (CMPLXF(fabsf(b) / (2 * t), copysignf(t, b))); in csqrtf()
|
D | s_clogf.c | 72 return (CMPLXF(logf(hypotf(x, y)), v)); in clogf() 77 return (CMPLXF((ay / 2) * ay, v)); in clogf() 78 return (CMPLXF(log1pf(ay * ay) / 2, v)); in clogf() 83 return (CMPLXF(logf(ax), v)); in clogf() 87 return (CMPLXF(logf(hypotf(x * 0x1p-126F, y * 0x1p-126F)) + in clogf() 90 return (CMPLXF(logf(hypotf(x, y)), v)); in clogf() 94 return (CMPLXF(logf(hypotf(x * 0x1p127F, y * 0x1p127F)) + in clogf() 99 return (CMPLXF(logf(hypotf(x, y)), v)); in clogf() 141 return (CMPLXF(logf(ay2l + ax2l + sl + sh) / 2, v)); in clogf() 150 return (CMPLXF(log1pf(ay2l + t + sh) / 2, v)); in clogf()
|
D | s_ctanhf.c | 56 return (CMPLXF(nan_mix(x, y), in ctanhf() 59 return (CMPLXF(x, in ctanhf() 64 return (CMPLXF(y - y, y - y)); in ctanhf() 68 return (CMPLXF(copysignf(1, x), in ctanhf() 77 return (CMPLXF((beta * rho * s) / denom, t / denom)); in ctanhf() 84 z = ctanhf(CMPLXF(cimagf(z), crealf(z))); in ctanf() 85 return (CMPLXF(cimagf(z), crealf(z))); in ctanf()
|
D | s_cexpf.c | 55 return (CMPLXF(expf(x), y)); in cexpf() 59 return (CMPLXF(cosf(y), sinf(y))); in cexpf() 64 return (CMPLXF(y - y, y - y)); in cexpf() 67 return (CMPLXF(0.0, 0.0)); in cexpf() 70 return (CMPLXF(x, y - y)); in cexpf() 89 return (CMPLXF(exp_x * cosf(y), exp_x * sinf(y))); in cexpf()
|
D | s_cpowf.c | 63 return (CMPLXF(0.0f, 0.0f)); in cpowf() 72 w = CMPLXF(r * cosf (theta), r * sinf (theta)); in cpowf()
|
D | s_conjf.c | 39 return (CMPLXF(crealf(z), -cimagf(z))); in conjf()
|
D | s_cprojf.c | 44 return (CMPLXF(INFINITY, copysignf(0.0, cimagf(z)))); in cprojf()
|
D | k_expf.c | 87 return (CMPLXF(cosf(y) * exp_x * scale1 * scale2, in __ldexp_cexpf()
|
D | math_private.h | 543 #ifndef CMPLXF 545 CMPLXF(float x, float y) in CMPLXF() function
|
/bionic/libc/include/ |
D | complex.h | 48 #define CMPLXF(x, y) ((float complex){ x, y }) macro
|