Home
last modified time | relevance | path

Searched refs:CMPLXF (Results 1 – 25 of 26) sorted by relevance

12

/third_party/musl/src/complex/
Dcsinhf.c51 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 …]
Dccoshf.c51 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 …]
Dcsqrtf.c46 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()
Dcexpf.c47 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()
Dctanhf.c47 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()
Dcasinf.c12 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()
Dcasinhf.c5 z = casinf(CMPLXF(-cimagf(z), crealf(z))); in casinhf()
6 return CMPLXF(cimagf(z), -crealf(z)); in casinhf()
Dctanf.c5 z = ctanhf(CMPLXF(-cimagf(z), crealf(z))); in ctanf()
6 return CMPLXF(cimagf(z), -crealf(z)); in ctanf()
Dcsinf.c5 z = csinhf(CMPLXF(-cimagf(z), crealf(z))); in csinf()
6 return CMPLXF(cimagf(z), -crealf(z)); in csinf()
Dcatanhf.c5 z = catanf(CMPLXF(-cimagf(z), crealf(z))); in catanhf()
6 return CMPLXF(cimagf(z), -crealf(z)); in catanhf()
Dcacoshf.c8 if (zineg) return CMPLXF(cimagf(z), -crealf(z)); in cacoshf()
9 else return CMPLXF(-cimagf(z), crealf(z)); in cacoshf()
Dconjf.c5 return CMPLXF(crealf(z), -cimagf(z)); in conjf()
Dccosf.c5 return ccoshf(CMPLXF(-cimagf(z), crealf(z))); in ccosf()
Dcacosf.c10 return CMPLXF(float_pi_2 - crealf(z), -cimagf(z)); in cacosf()
Dcprojf.c6 return CMPLXF(INFINITY, copysignf(0.0, cimagf(z))); in cprojf()
Dclogf.c11 return CMPLXF(logf(r), phi); in clogf()
D__cexpf.c66 return CMPLXF(cosf(y) * exp_x * scale1 * scale2, in __ldexp_cexpf()
Dcatanf.c103 w = CMPLXF(w, 0.25f * logf(a)); in catanf()
Dcatanl.c111 w = CMPLXF(w, 0.25L * logl(a)); in catanl()
/third_party/musl/src/internal/
Dcomplex_impl.h9 #undef CMPLXF
16 #define CMPLXF(x, y) __CMPLX(x, y, float) macro
/third_party/musl/ndk_musl_include/
Dcomplex.h126 #define CMPLXF(x, y) __CMPLX(x, y, float) macro
/third_party/musl/include/
Dcomplex.h126 #define CMPLXF(x, y) __CMPLX(x, y, float) macro
/third_party/musl/porting/liteos_a/kernel/include/
Dcomplex.h126 #define CMPLXF(x, y) __CMPLX(x, y, float) macro
/third_party/musl/porting/liteos_m/kernel/include/
Dcomplex.h126 #define CMPLXF(x, y) __CMPLX(x, y, float) macro
/third_party/musl/porting/uniproton/kernel/include/
Dcomplex.h126 #define CMPLXF(x, y) __CMPLX(x, y, float) macro

12