/third_party/musl/src/complex/ |
D | csinhf.c | 51 return CMPLXF(sinhf(x), y); in csinhf() 53 return CMPLXF(sinhf(x) * cosf(y), coshf(x) * sinf(y)); in csinhf() 59 return CMPLXF(copysignf(h, x) * cosf(y), h * sinf(y)); in csinhf() 62 z = __ldexp_cexpf(CMPLXF(fabsf(x), y), -1); in csinhf() 63 return CMPLXF(crealf(z) * copysignf(1, x), cimagf(z)); in csinhf() 67 return CMPLXF(h * cosf(y), h * h * sinf(y)); in csinhf() 72 return CMPLXF(copysignf(0, x * (y - y)), y - y); in csinhf() 76 return CMPLXF(x, y); in csinhf() 77 return CMPLXF(x, copysignf(0, y)); in csinhf() 81 return CMPLXF(y - y, x * (y - y)); in csinhf() [all …]
|
D | ccoshf.c | 51 return CMPLXF(coshf(x), x * y); in ccoshf() 53 return CMPLXF(coshf(x) * cosf(y), sinhf(x) * sinf(y)); in ccoshf() 59 return CMPLXF(h * cosf(y), copysignf(h, x) * sinf(y)); in ccoshf() 62 z = __ldexp_cexpf(CMPLXF(fabsf(x), y), -1); in ccoshf() 63 return CMPLXF(crealf(z), cimagf(z) * copysignf(1, x)); in ccoshf() 67 return CMPLXF(h * h * cosf(y), h * sinf(y)); in ccoshf() 72 return CMPLXF(y - y, copysignf(0, x * (y - y))); in ccoshf() 76 return CMPLXF(x * x, copysignf(0, x) * y); in ccoshf() 77 return CMPLXF(x * x, copysignf(0, (x + x) * y)); in ccoshf() 81 return CMPLXF(y - y, x * (y - y)); in ccoshf() [all …]
|
D | csqrtf.c | 46 return CMPLXF(0, b); in csqrtf() 48 return CMPLXF(INFINITY, b); in csqrtf() 51 return CMPLXF(a, t); /* return NaN + NaN i */ in csqrtf() 61 return CMPLXF(fabsf(b - b), copysignf(a, b)); in csqrtf() 63 return CMPLXF(a, copysignf(b - b, b)); in csqrtf() 77 return CMPLXF(t, b / (2.0 * t)); in csqrtf() 80 return CMPLXF(fabsf(b) / (2.0 * t), copysignf(t, b)); in csqrtf()
|
D | cexpf.c | 47 return CMPLXF(expf(x), y); in cexpf() 51 return CMPLXF(cosf(y), sinf(y)); in cexpf() 56 return CMPLXF(y - y, y - y); in cexpf() 59 return CMPLXF(0.0, 0.0); in cexpf() 62 return CMPLXF(x, y - y); in cexpf() 81 return CMPLXF(exp_x * cosf(y), exp_x * sinf(y)); in cexpf()
|
D | ctanhf.c | 47 return CMPLXF(x, (y == 0 ? y : x * y)); in ctanhf() 49 return CMPLXF(x, copysignf(0, isinf(y) ? y : sinf(y) * cosf(y))); in ctanhf() 53 return CMPLXF(ix ? y - y : x, y - y); in ctanhf() 57 return CMPLXF(copysignf(1, x), 4 * sinf(y) * cosf(y) * exp_mx * exp_mx); in ctanhf() 65 return CMPLXF((beta * rho * s) / denom, t / denom); in ctanhf()
|
D | casinf.c | 12 w = CMPLXF(1.0 - (x - y)*(x + y), -2.0*x*y); in casinf() 13 float complex r = clogf(CMPLXF(-y, x) + csqrtf(w)); in casinf() 14 return CMPLXF(cimagf(r), -crealf(r)); in casinf()
|
D | casinhf.c | 5 z = casinf(CMPLXF(-cimagf(z), crealf(z))); in casinhf() 6 return CMPLXF(cimagf(z), -crealf(z)); in casinhf()
|
D | ctanf.c | 5 z = ctanhf(CMPLXF(-cimagf(z), crealf(z))); in ctanf() 6 return CMPLXF(cimagf(z), -crealf(z)); in ctanf()
|
D | csinf.c | 5 z = csinhf(CMPLXF(-cimagf(z), crealf(z))); in csinf() 6 return CMPLXF(cimagf(z), -crealf(z)); in csinf()
|
D | catanhf.c | 5 z = catanf(CMPLXF(-cimagf(z), crealf(z))); in catanhf() 6 return CMPLXF(cimagf(z), -crealf(z)); in catanhf()
|
D | cacoshf.c | 8 if (zineg) return CMPLXF(cimagf(z), -crealf(z)); in cacoshf() 9 else return CMPLXF(-cimagf(z), crealf(z)); in cacoshf()
|
D | conjf.c | 5 return CMPLXF(crealf(z), -cimagf(z)); in conjf()
|
D | ccosf.c | 5 return ccoshf(CMPLXF(-cimagf(z), crealf(z))); in ccosf()
|
D | cacosf.c | 10 return CMPLXF(float_pi_2 - crealf(z), -cimagf(z)); in cacosf()
|
D | cprojf.c | 6 return CMPLXF(INFINITY, copysignf(0.0, cimagf(z))); in cprojf()
|
D | clogf.c | 11 return CMPLXF(logf(r), phi); in clogf()
|
D | __cexpf.c | 66 return CMPLXF(cosf(y) * exp_x * scale1 * scale2, in __ldexp_cexpf()
|
D | catanf.c | 103 w = CMPLXF(w, 0.25f * logf(a)); in catanf()
|
D | catanl.c | 111 w = CMPLXF(w, 0.25L * logl(a)); in catanl()
|
/third_party/musl/src/internal/ |
D | complex_impl.h | 9 #undef CMPLXF 16 #define CMPLXF(x, y) __CMPLX(x, y, float) macro
|
/third_party/musl/ndk_musl_include/ |
D | complex.h | 126 #define CMPLXF(x, y) __CMPLX(x, y, float) macro
|
/third_party/musl/include/ |
D | complex.h | 126 #define CMPLXF(x, y) __CMPLX(x, y, float) macro
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | complex.h | 126 #define CMPLXF(x, y) __CMPLX(x, y, float) macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | complex.h | 126 #define CMPLXF(x, y) __CMPLX(x, y, float) macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | complex.h | 126 #define CMPLXF(x, y) __CMPLX(x, y, float) macro
|