/third_party/musl/src/complex/ |
H A D | cacosh.c | 7 int zineg = signbit(cimag(z)); in cacosh() 10 if (zineg) return CMPLX(cimag(z), -creal(z)); in cacosh() 11 else return CMPLX(-cimag(z), creal(z)); in cacosh()
|
H A D | cimag.c | 3 double (cimag)(double complex z) in cimag() function 5 return cimag(z); in cimag()
|
H A D | casinh.c | 7 z = casin(CMPLX(-cimag(z), creal(z))); in casinh() 8 return CMPLX(cimag(z), -creal(z)); in casinh()
|
H A D | catanh.c | 7 z = catan(CMPLX(-cimag(z), creal(z))); in catanh() 8 return CMPLX(cimag(z), -creal(z)); in catanh()
|
H A D | csin.c | 7 z = csinh(CMPLX(-cimag(z), creal(z))); in csin() 8 return CMPLX(cimag(z), -creal(z)); in csin()
|
H A D | cproj.c | 5 if (isinf(creal(z)) || isinf(cimag(z))) in cproj() 6 return CMPLX(INFINITY, copysign(0.0, cimag(z))); in cproj()
|
H A D | ctan.c | 7 z = ctanh(CMPLX(-cimag(z), creal(z))); in ctan() 8 return CMPLX(cimag(z), -creal(z)); in ctan()
|
H A D | casin.c | 13 y = cimag(z); in casin() 16 return CMPLX(cimag(r), -creal(r)); in casin()
|
H A D | csinh.c | 47 y = cimag(z); in csinh() 70 return CMPLX(creal(z) * copysign(1, x), cimag(z)); in csinh()
|
H A D | ccosh.c | 47 y = cimag(z); in ccosh() 70 return CMPLX(creal(z), cimag(z) * copysign(1, x)); in ccosh()
|
H A D | cabs.c | 5 return hypot(creal(z), cimag(z)); in cabs()
|
H A D | ccos.c | 7 return ccosh(CMPLX(-cimag(z), creal(z))); in ccos()
|
H A D | carg.c | 5 return atan2(cimag(z), creal(z)); in carg()
|
H A D | conj.c | 5 return CMPLX(creal(z), -cimag(z)); in conj()
|
H A D | cacos.c | 10 return CMPLX(M_PI_2 - creal(z), -cimag(z)); in cacos()
|
H A D | __cexp.c | 73 y = cimag(z); in __ldexp_cexp()
|
H A D | cexp.c | 40 y = cimag(z); in cexp()
|
H A D | catan.c | 92 y = cimag(z); in catan()
|
H A D | csqrt.c | 50 b = cimag(z); in csqrt()
|
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/ |
H A D | complex_test.cpp | 359 * @tc.desc: Test whether the cimag result is 0.0 when the parameter is 0. 364 EXPECT_EQ(0.0, cimag(0)); in HWTEST_F() 657 EXPECT_TRUE(cimag(tan_result) == 0.0); in HWTEST_F() 670 EXPECT_TRUE(isnan(cimag(tan_result))); in HWTEST_F() 683 EXPECT_TRUE(isnan(cimag(tan_result))); in HWTEST_F() 732 EXPECT_TRUE(isnan(cimag(tan_result))); in HWTEST_F()
|
/third_party/musl/libc-test/src/api/ |
H A D | tgmath.c | 56 #ifdef cimag in f() 57 {double r = cimag(x);} in f() 59 #error no cimag(x) in f()
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | complex.h | 88 double cimag(double complex); 112 #define cimag(x) __CIMAG(x, double) macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | complex.h | 88 double cimag(double complex); 112 #define cimag(x) __CIMAG(x, double) macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | complex.h | 88 double cimag(double complex); 112 #define cimag(x) __CIMAG(x, double) macro
|
/third_party/musl/include/ |
H A D | complex.h | 88 double cimag(double complex); 112 #define cimag(x) __CIMAG(x, double) macro
|