/seL4-camkes-master/projects/musllibc/src/complex/ |
H A D | casinh.c | 7 z = casin(CMPLX(-cimag(z), creal(z))); 8 return CMPLX(cimag(z), -creal(z));
|
H A D | catanh.c | 7 z = catan(CMPLX(-cimag(z), creal(z))); 8 return CMPLX(cimag(z), -creal(z));
|
H A D | csin.c | 7 z = csinh(CMPLX(-cimag(z), creal(z))); 8 return CMPLX(cimag(z), -creal(z));
|
H A D | ctan.c | 7 z = ctanh(CMPLX(-cimag(z), creal(z))); 8 return CMPLX(cimag(z), -creal(z));
|
H A D | ccos.c | 7 return ccosh(CMPLX(-cimag(z), creal(z)));
|
H A D | conj.c | 5 return CMPLX(creal(z), -cimag(z));
|
H A D | csinh.c | 58 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 D | cexp.c | 47 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 D | cacos.c | 10 return CMPLX(M_PI_2 - creal(z), -cimag(z));
|
H A D | cacosh.c | 8 return CMPLX(-cimag(z), creal(z));
|
H A D | casin.c | 14 w = CMPLX(1.0 - (x - y)*(x + y), -2.0*x*y); 15 return clog(CMPLX(-y, x) + csqrt(w));
|
H A D | ccosh.c | 58 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 D | csqrt.c | 54 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 D | clog.c | 13 return CMPLX(log(r), phi);
|
H A D | cproj.c | 6 return CMPLX(INFINITY, copysign(0.0, creal(z)));
|
H A D | ctanh.c | 98 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.c | 86 return CMPLX(cos(y) * exp_x * scale1 * scale2, sin(y) * exp_x * scale1 * scale2);
|
/seL4-camkes-master/projects/musllibc/src/internal/ |
H A D | libm.h | 146 #undef CMPLX macro 153 #define CMPLX(x, y) __CMPLX(x, y, double) macro
|
/seL4-camkes-master/projects/musllibc/include/ |
H A D | complex.h | 125 #define CMPLX(x, y) __CMPLX(x, y, double) macro
|