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

/seL4-camkes-master/projects/musllibc/src/complex/
H A Dcasinh.c7 z = casin(CMPLX(-cimag(z), creal(z)));
8 return CMPLX(cimag(z), -creal(z));
H A Dcatanh.c7 z = catan(CMPLX(-cimag(z), creal(z)));
8 return CMPLX(cimag(z), -creal(z));
H A Dcsin.c7 z = csinh(CMPLX(-cimag(z), creal(z)));
8 return CMPLX(cimag(z), -creal(z));
H A Dctan.c7 z = ctanh(CMPLX(-cimag(z), creal(z)));
8 return CMPLX(cimag(z), -creal(z));
H A Dccos.c7 return ccosh(CMPLX(-cimag(z), creal(z)));
H A Dconj.c5 return CMPLX(creal(z), -cimag(z));
H A Dcsinh.c58 return CMPLX(sinh(x), y);
60 return CMPLX(sinh(x) * cos(y), cosh(x) * sin(y));
66 return CMPLX(copysign(h, x) * cos(y), h * sin(y));
69 z = __ldexp_cexp(CMPLX(fabs(x), y), -1);
70 return CMPLX(creal(z) * copysign(1, x), cimag(z));
74 return CMPLX(h * cos(y), h * h * sin(y));
88 return CMPLX(copysign(0, x * (y - y)), y - y);
97 return CMPLX(x, y);
98 return CMPLX(x, copysign(0, y));
110 return CMPLX(
[all...]
H A Dcexp.c47 return CMPLX(exp(x), y);
51 return CMPLX(cos(y), sin(y));
56 return CMPLX(y - y, y - y);
59 return CMPLX(0.0, 0.0);
62 return CMPLX(x, y - y);
81 return CMPLX(exp_x * cos(y), exp_x * sin(y));
H A Dcacos.c10 return CMPLX(M_PI_2 - creal(z), -cimag(z));
H A Dcacosh.c8 return CMPLX(-cimag(z), creal(z));
H A Dcasin.c14 w = CMPLX(1.0 - (x - y)*(x + y), -2.0*x*y);
15 return clog(CMPLX(-y, x) + csqrt(w));
H A Dccosh.c58 return CMPLX(cosh(x), x * y);
60 return CMPLX(cosh(x) * cos(y), sinh(x) * sin(y));
66 return CMPLX(h * cos(y), copysign(h, x) * sin(y));
69 z = __ldexp_cexp(CMPLX(fabs(x), y), -1);
70 return CMPLX(creal(z), cimag(z) * copysign(1, x));
74 return CMPLX(h * h * cos(y), h * sin(y));
88 return CMPLX(y - y, copysign(0, x * (y - y)));
98 return CMPLX(x * x, copysign(0, x) * y);
99 return CMPLX(x * x, copysign(0, (x + x) * y));
111 return CMPLX(
[all...]
H A Dcsqrt.c54 return CMPLX(0, b);
56 return CMPLX(INFINITY, b);
59 return CMPLX(a, t); /* return NaN + NaN i */
69 return CMPLX(fabs(b - b), copysign(a, b));
71 return CMPLX(a, copysign(b - b, b));
90 result = CMPLX(t, b / (2 * t));
93 result = CMPLX(fabs(b) / (2 * t), copysign(t, b));
H A Dclog.c13 return CMPLX(log(r), phi);
H A Dcproj.c6 return CMPLX(INFINITY, copysign(0.0, creal(z)));
H A Dctanh.c98 return CMPLX(x, (y == 0 ? y : x * y));
100 return CMPLX(x, copysign(0, isinf(y) ? y : sin(y) * cos(y)));
110 return CMPLX(x ? y - y : x, y - y);
119 return CMPLX(copysign(1, x), 4 * sin(y) * cos(y) * exp_mx * exp_mx);
128 return CMPLX((beta * rho * s) / denom, t / denom);
H A D__cexp.c86 return CMPLX(cos(y) * exp_x * scale1 * scale2, sin(y) * exp_x * scale1 * scale2);
/seL4-camkes-master/projects/musllibc/src/internal/
H A Dlibm.h146 #undef CMPLX macro
153 #define CMPLX(x, y) __CMPLX(x, y, double) macro
/seL4-camkes-master/projects/musllibc/include/
H A Dcomplex.h125 #define CMPLX(x, y) __CMPLX(x, y, double) macro

Completed in 143 milliseconds