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

/fuchsia/zircon/third_party/ulib/musl/src/complex/
H A Dcasinh.c6 z = casin(CMPLX(-cimag(z), creal(z)));
7 return CMPLX(cimag(z), -creal(z));
H A Dcatanh.c6 z = catan(CMPLX(-cimag(z), creal(z)));
7 return CMPLX(cimag(z), -creal(z));
H A Dcsin.c6 z = csinh(CMPLX(-cimag(z), creal(z)));
7 return CMPLX(cimag(z), -creal(z));
H A Dctan.c6 z = ctanh(CMPLX(-cimag(z), creal(z)));
7 return CMPLX(cimag(z), -creal(z));
H A Dccos.c6 return ccosh(CMPLX(-cimag(z), creal(z)));
H A Dconj.c4 return CMPLX(creal(z), -cimag(z));
H A Dcacos.c10 return CMPLX(M_PI_2 - creal(z), -cimag(z));
H A Dcacosh.c7 return CMPLX(-cimag(z), creal(z));
H A Dcasin.c13 w = CMPLX(1.0 - (x - y) * (x + y), -2.0 * x * y);
14 return clog(CMPLX(-y, x) + csqrt(w));
H A Dclog.c12 return CMPLX(log(r), phi);
H A Dcproj.c5 return CMPLX(INFINITY, copysign(0.0, creal(z)));
/fuchsia/zircon/third_party/ulib/musl/third_party/complex/
H A Dcsinh.c57 return CMPLX(sinh(x), y);
59 return CMPLX(sinh(x) * cos(y), cosh(x) * sin(y));
65 return CMPLX(copysign(h, x) * cos(y), h * sin(y));
68 z = __ldexp_cexp(CMPLX(fabs(x), y), -1);
69 return CMPLX(creal(z) * copysign(1, x), cimag(z));
73 return CMPLX(h * cos(y), h * h * sin(y));
87 return CMPLX(copysign(0, x * (y - y)), y - y);
96 return CMPLX(x, y);
97 return CMPLX(x, copysign(0, y));
109 return CMPLX(
[all...]
H A Dcexp.c45 return CMPLX(exp(x), y);
49 return CMPLX(cos(y), sin(y));
54 return CMPLX(y - y, y - y);
57 return CMPLX(0.0, 0.0);
60 return CMPLX(x, y - y);
79 return CMPLX(exp_x * cos(y), exp_x * sin(y));
H A Dccosh.c57 return CMPLX(cosh(x), x * y);
59 return CMPLX(cosh(x) * cos(y), sinh(x) * sin(y));
65 return CMPLX(h * cos(y), copysign(h, x) * sin(y));
68 z = __ldexp_cexp(CMPLX(fabs(x), y), -1);
69 return CMPLX(creal(z), cimag(z) * copysign(1, x));
73 return CMPLX(h * h * cos(y), h * sin(y));
87 return CMPLX(y - y, copysign(0, x * (y - y)));
97 return CMPLX(x * x, copysign(0, x) * y);
98 return CMPLX(x * x, copysign(0, (x + x) * y));
110 return CMPLX(
[all...]
H A Dcsqrt.c53 return CMPLX(0, b);
55 return CMPLX(INFINITY, b);
58 return CMPLX(a, t); /* return NaN + NaN i */
68 return CMPLX(fabs(b - b), copysign(a, b));
70 return CMPLX(a, copysign(b - b, b));
89 result = CMPLX(t, b / (2 * t));
92 result = CMPLX(fabs(b) / (2 * t), copysign(t, b));
H A Dctanh.c97 return CMPLX(x, (y == 0 ? y : x * y));
99 return CMPLX(x, copysign(0, isinf(y) ? y : sin(y) * cos(y)));
109 return CMPLX(x ? y - y : x, y - y);
118 return CMPLX(copysign(1, x), 4 * sin(y) * cos(y) * exp_zx * exp_zx);
127 return CMPLX((beta * rho * s) / denom, t / denom);
H A D__cexp.c84 return CMPLX(cos(y) * exp_x * scale1 * scale2, sin(y) * exp_x * scale1 * scale2);
/fuchsia/zircon/third_party/ulib/musl/third_party/include/
H A Dlibm.h182 #undef CMPLX macro
193 #define CMPLX(x, y) __CMPLX(x, y, double) macro
/fuchsia/zircon/third_party/ulib/musl/include/
H A Dcomplex.h128 #define CMPLX(x, y) __CMPLX(x, y, double) macro

Completed in 90 milliseconds