/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_csinhf.c | 58 return (CMPLXF(sinhf(x), y)); in csinhf() 60 return (CMPLXF(sinhf(x) * cosf(y), coshf(x) * sinf(y))); in csinhf() 66 return (CMPLXF(copysignf(h, x) * cosf(y), h * sinf(y))); in csinhf() 69 z = __ldexp_cexpf(CMPLXF(fabsf(x), y), -1); in csinhf() 70 return (CMPLXF(crealf(z) * copysignf(1, x), cimagf(z))); in csinhf() 74 return (CMPLXF(h * cosf(y), h * h * sinf(y))); in csinhf() 79 return (CMPLXF(x, y - y)); in csinhf() 82 return (CMPLXF(x + x, y)); in csinhf() 85 return (CMPLXF(y - y, y - y)); in csinhf() 89 return (CMPLXF(x, y - y)); in csinhf() [all …]
|
D | s_ccoshf.c | 58 return (CMPLXF(coshf(x), x * y)); in ccoshf() 60 return (CMPLXF(coshf(x) * cosf(y), sinhf(x) * sinf(y))); in ccoshf() 66 return (CMPLXF(h * cosf(y), copysignf(h, x) * sinf(y))); in ccoshf() 69 z = __ldexp_cexpf(CMPLXF(fabsf(x), y), -1); in ccoshf() 70 return (CMPLXF(crealf(z), cimagf(z) * copysignf(1, x))); in ccoshf() 74 return (CMPLXF(h * h * cosf(y), h * sinf(y))); in ccoshf() 79 return (CMPLXF(y - y, x * copysignf(0, y))); in ccoshf() 82 return (CMPLXF(x * x, copysignf(0, x) * y)); in ccoshf() 85 return (CMPLXF(y - y, x * (y - y))); in ccoshf() 89 return (CMPLXF(INFINITY, x * (y - y))); in ccoshf() [all …]
|
D | s_csqrtf.c | 52 return (CMPLXF(0, b)); in csqrtf() 54 return (CMPLXF(INFINITY, b)); in csqrtf() 57 return (CMPLXF(a, t)); /* return NaN + NaN i */ in csqrtf() 67 return (CMPLXF(fabsf(b - b), copysignf(a, b))); in csqrtf() 69 return (CMPLXF(a, copysignf(b - b, b))); in csqrtf() 83 return (CMPLXF(t, b / (2.0 * t))); in csqrtf() 86 return (CMPLXF(fabsf(b) / (2.0 * t), copysignf(t, b))); in csqrtf()
|
D | s_cexpf.c | 53 return (CMPLXF(expf(x), y)); in cexpf() 57 return (CMPLXF(cosf(y), sinf(y))); in cexpf() 62 return (CMPLXF(y - y, y - y)); in cexpf() 65 return (CMPLXF(0.0, 0.0)); in cexpf() 68 return (CMPLXF(x, y - y)); in cexpf() 87 return (CMPLXF(exp_x * cosf(y), exp_x * sinf(y))); in cexpf()
|
D | s_ctanhf.c | 54 return (CMPLXF((x + 0) * (y + 0), in ctanhf() 57 return (CMPLXF(x, in ctanhf() 62 return (CMPLXF(y - y, y - y)); in ctanhf() 66 return (CMPLXF(copysignf(1, x), in ctanhf() 75 return (CMPLXF((beta * rho * s) / denom, t / denom)); in ctanhf() 82 z = ctanhf(CMPLXF(cimagf(z), crealf(z))); in ctanf() 83 return (CMPLXF(cimagf(z), crealf(z))); in ctanf()
|
D | catrigf.c | 159 return (CMPLXF(x, y + y)); in casinhf() 161 return (CMPLXF(y, x + x)); in casinhf() 163 return (CMPLXF(x + x, y)); in casinhf() 164 return (CMPLXF(x + 0.0L + (y + 0), x + 0.0L + (y + 0))); in casinhf() 172 return (CMPLXF(copysignf(crealf(w), x), in casinhf() 189 return (CMPLXF(copysignf(rx, x), copysignf(ry, y))); in casinhf() 195 float complex w = casinhf(CMPLXF(cimagf(z), crealf(z))); in casinf() 197 return (CMPLXF(cimagf(w), crealf(w))); in casinf() 217 return (CMPLXF(y + y, -INFINITY)); in cacosf() 219 return (CMPLXF(x + x, -y)); in cacosf() [all …]
|
D | s_conjf.c | 37 return (CMPLXF(crealf(z), -cimagf(z))); in conjf()
|
D | s_cprojf.c | 42 return (CMPLXF(INFINITY, copysignf(0.0, cimagf(z)))); in cprojf()
|
D | k_expf.c | 85 return (CMPLXF(cosf(y) * exp_x * scale1 * scale2, in __ldexp_cexpf()
|
D | math_private.h | 463 #ifndef CMPLXF 465 CMPLXF(float x, float y) in CMPLXF() function
|
/bionic/libm/include/ |
D | complex.h | 52 #define CMPLXF(x, y) ((float complex){ x, y }) macro 56 #define CMPLXF(x, y) __builtin_complex((float)(x), (float)(y)) macro
|