Home
last modified time | relevance | path

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

12

/third_party/musl/src/complex/
H A Dcacosh.c7 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 Dcimag.c3 double (cimag)(double complex z) in cimag() function
5 return cimag(z); in cimag()
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 Dcproj.c5 if (isinf(creal(z)) || isinf(cimag(z))) in cproj()
6 return CMPLX(INFINITY, copysign(0.0, cimag(z))); in cproj()
H A Dctan.c7 z = ctanh(CMPLX(-cimag(z), creal(z))); in ctan()
8 return CMPLX(cimag(z), -creal(z)); in ctan()
H A Dcasin.c13 y = cimag(z); in casin()
16 return CMPLX(cimag(r), -creal(r)); in casin()
H A Dcsinh.c47 y = cimag(z); in csinh()
70 return CMPLX(creal(z) * copysign(1, x), cimag(z)); in csinh()
H A Dccosh.c47 y = cimag(z); in ccosh()
70 return CMPLX(creal(z), cimag(z) * copysign(1, x)); in ccosh()
H A Dcabs.c5 return hypot(creal(z), cimag(z)); in cabs()
H A Dccos.c7 return ccosh(CMPLX(-cimag(z), creal(z))); in ccos()
H A Dcarg.c5 return atan2(cimag(z), creal(z)); in carg()
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 D__cexp.c73 y = cimag(z); in __ldexp_cexp()
H A Dcexp.c40 y = cimag(z); in cexp()
H A Dcatan.c92 y = cimag(z); in catan()
H A Dcsqrt.c50 b = cimag(z); in csqrt()
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
H A Dcomplex_test.cpp359 * @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 Dtgmath.c56 #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 Dcomplex.h88 double cimag(double complex);
112 #define cimag(x) __CIMAG(x, double) macro
/third_party/musl/porting/uniproton/kernel/include/
H A Dcomplex.h88 double cimag(double complex);
112 #define cimag(x) __CIMAG(x, double) macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dcomplex.h88 double cimag(double complex);
112 #define cimag(x) __CIMAG(x, double) macro
/third_party/musl/include/
H A Dcomplex.h88 double cimag(double complex);
112 #define cimag(x) __CIMAG(x, double) macro

Completed in 5 milliseconds

12