Home
last modified time | relevance | path

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

12

/third_party/musl/src/complex/
H A Dcreal.c3 double (creal)(double complex z) in creal() function
5 return creal(z); in creal()
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 Dctan.c7 z = ctanh(CMPLX(-cimag(z), creal(z))); in ctan()
8 return CMPLX(cimag(z), -creal(z)); in ctan()
H A Dcacosh.c10 if (zineg) return CMPLX(cimag(z), -creal(z)); in cacosh()
11 else return CMPLX(-cimag(z), creal(z)); in cacosh()
H A Dcasin.c12 x = creal(z); in casin()
16 return CMPLX(cimag(r), -creal(r)); in casin()
H A Dcsinh.c46 x = creal(z); in csinh()
70 return CMPLX(creal(z) * copysign(1, x), cimag(z)); in csinh()
H A Dccosh.c46 x = creal(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 Dcproj.c5 if (isinf(creal(z)) || isinf(cimag(z))) in cproj()
H A D__cexp.c72 x = creal(z); in __ldexp_cexp()
H A Dcexp.c39 x = creal(z); in cexp()
H A Dcatan.c91 x = creal(z); in catan()
H A Dcsqrt.c49 a = creal(z); in csqrt()
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
H A Dcomplex_test.cpp489 * @tc.desc: Test whether the creal result is 2.0 when the parameter is 2.0 + 3.0I.
494 EXPECT_EQ(2.0, creal(2.0 + 3.0I)); in HWTEST_F()
656 EXPECT_TRUE(isnan(creal(tan_result))); in HWTEST_F()
669 EXPECT_TRUE(isnan(creal(tan_result))); in HWTEST_F()
682 EXPECT_TRUE(isnan(creal(tan_result))); in HWTEST_F()
731 EXPECT_TRUE(isnan(creal(tan_result))); in HWTEST_F()
/third_party/musl/libc-test/src/api/
H A Dtgmath.c86 #ifdef creal in f()
87 {double r = creal(x);} in f()
89 #error no creal(x) in f()
/third_party/musl/porting/liteos_a/kernel/include/
H A Dcomplex.h100 double creal(double complex);
108 #define creal(x) ((double)(x)) macro
/third_party/musl/porting/uniproton/kernel/include/
H A Dcomplex.h100 double creal(double complex);
108 #define creal(x) ((double)(x)) macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dcomplex.h100 double creal(double complex);
108 #define creal(x) ((double)(x)) macro
/third_party/musl/include/
H A Dcomplex.h100 double creal(double complex);
108 #define creal(x) ((double)(x)) macro

Completed in 5 milliseconds

12