Home
last modified time | relevance | path

Searched refs:CMPLX (Results 1 - 25 of 25) sorted by relevance

/third_party/musl/src/complex/
H A Dcsinh.c58 return CMPLX(sinh(x), y); in csinh()
60 return CMPLX(sinh(x) * cos(y), cosh(x) * sin(y)); in csinh()
66 return CMPLX(copysign(h, x) * cos(y), h * sin(y)); in csinh()
69 z = __ldexp_cexp(CMPLX(fabs(x), y), -1); in csinh()
70 return CMPLX(creal(z) * copysign(1, x), cimag(z)); in csinh()
74 return CMPLX(h * cos(y), h * h * sin(y)); in csinh()
88 return CMPLX(copysign(0, x * (y - y)), y - y); in csinh()
97 return CMPLX(x, y); in csinh()
98 return CMPLX(x, copysign(0, y)); in csinh()
110 return CMPLX( in csinh()
[all...]
H A Dccosh.c58 return CMPLX(cosh(x), x * y); in ccosh()
60 return CMPLX(cosh(x) * cos(y), sinh(x) * sin(y)); in ccosh()
66 return CMPLX(h * cos(y), copysign(h, x) * sin(y)); in ccosh()
69 z = __ldexp_cexp(CMPLX(fabs(x), y), -1); in ccosh()
70 return CMPLX(creal(z), cimag(z) * copysign(1, x)); in ccosh()
74 return CMPLX(h * h * cos(y), h * sin(y)); in ccosh()
88 return CMPLX(y - y, copysign(0, x * (y - y))); in ccosh()
98 return CMPLX(x * x, copysign(0, x) * y); in ccosh()
99 return CMPLX(x * x, copysign(0, (x + x) * y)); in ccosh()
111 return CMPLX( in ccosh()
[all...]
H A Dcsqrt.c54 return CMPLX(0, b); in csqrt()
56 return CMPLX(INFINITY, b); in csqrt()
59 return CMPLX(a, t); /* return NaN + NaN i */ in csqrt()
69 return CMPLX(fabs(b - b), copysign(a, b)); in csqrt()
71 return CMPLX(a, copysign(b - b, b)); in csqrt()
90 result = CMPLX(t, b / (2 * t)); in csqrt()
93 result = CMPLX(fabs(b) / (2 * t), copysign(t, b)); in csqrt()
H A Dcexp.c47 return CMPLX(exp(x), y); in cexp()
51 return CMPLX(cos(y), sin(y)); in cexp()
56 return CMPLX(y - y, y - y); in cexp()
59 return CMPLX(0.0, 0.0); in cexp()
62 return CMPLX(x, y - y); in cexp()
81 return CMPLX(exp_x * cos(y), exp_x * sin(y)); in cexp()
H A Dctanh.c98 return CMPLX(x, (y == 0 ? y : x * y)); in ctanh()
100 return CMPLX(x, copysign(0, isinf(y) ? y : sin(y) * cos(y))); in ctanh()
110 return CMPLX(x ? y - y : x, y - y); in ctanh()
119 return CMPLX(copysign(1, x), 4 * sin(y) * cos(y) * exp_mx * exp_mx); in ctanh()
128 return CMPLX((beta * rho * s) / denom, t / denom); in ctanh()
H A Dcasin.c14 w = CMPLX(1.0 - (x - y)*(x + y), -2.0*x*y); in casin()
15 double complex r = clog(CMPLX(-y, x) + csqrt(w)); in casin()
16 return CMPLX(cimag(r), -creal(r)); in casin()
H A Dcasinh.c7 z = casin(CMPLX(-cimag(z), creal(z))); in casinh()
8 return CMPLX(cimag(z), -creal(z)); in casinh()
H A Dcatanh.c7 z = catan(CMPLX(-cimag(z), creal(z))); in catanh()
8 return CMPLX(cimag(z), -creal(z)); in catanh()
H A Dcsin.c7 z = csinh(CMPLX(-cimag(z), creal(z))); in csin()
8 return CMPLX(cimag(z), -creal(z)); in csin()
H A Dctan.c7 z = ctanh(CMPLX(-cimag(z), creal(z))); in ctan()
8 return CMPLX(cimag(z), -creal(z)); in ctan()
H A Dcacosh.c10 if (zineg) return CMPLX(cimag(z), -creal(z)); in cacosh()
11 else return CMPLX(-cimag(z), creal(z)); in cacosh()
H A Dccos.c7 return ccosh(CMPLX(-cimag(z), creal(z))); in ccos()
H A Dconj.c5 return CMPLX(creal(z), -cimag(z)); in conj()
H A Dcacos.c10 return CMPLX(M_PI_2 - creal(z), -cimag(z)); in cacos()
H A Dclog.c13 return CMPLX(log(r), phi); in clog()
H A Dcproj.c6 return CMPLX(INFINITY, copysign(0.0, cimag(z))); in cproj()
H A D__cexp.c86 return CMPLX(cos(y) * exp_x * scale1 * scale2, sin(y) * exp_x * scale1 * scale2); in __ldexp_cexp()
H A Dcatan.c105 w = CMPLX(w, 0.25 * log(a)); in catan()
/third_party/musl/src/internal/
H A Dcomplex_impl.h8 #undef CMPLX macro
15 #define CMPLX(x, y) __CMPLX(x, y, double) macro
/third_party/musl/porting/liteos_a/kernel/include/
H A Dcomplex.h125 #define CMPLX(x, y) __CMPLX(x, y, double) macro
/third_party/musl/porting/uniproton/kernel/include/
H A Dcomplex.h125 #define CMPLX(x, y) __CMPLX(x, y, double) macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dcomplex.h125 #define CMPLX(x, y) __CMPLX(x, y, double) macro
/third_party/musl/include/
H A Dcomplex.h125 #define CMPLX(x, y) __CMPLX(x, y, double) macro
/third_party/FreeBSD/lib/msun/src/
H A Dmath_private.h543 * The C11 standard introduced the macros CMPLX(), CMPLXF() and CMPLXL()
560 #ifndef CMPLX
562 CMPLX(double x, double y) in CMPLX() function
/third_party/lzma/CPP/7zip/UI/Common/
H A DBench.cpp2612 #define CMPLX(x) ((x) * 1000)
2614 #define CMPLX(x) (x)
2663 // { 2, 0, CMPLX(6), 0, CMPLX(1), "AES128CBC:2" },
2664 // { 2, 0, CMPLX(7), 0, CMPLX(1), "AES192CBC:2" },
2665 { 2, 0, CMPLX(8), 0, CMPLX(1), "AES256CBC:2" },
2667 // { 2, 0, CMPLX(1), 0, CMPLX(
[all...]

Completed in 8 milliseconds