/third_party/musl/src/complex/ |
H A D | creal.c | 3 double (creal)(double complex z) in creal() function 5 return creal(z); in creal()
|
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 | ctan.c | 7 z = ctanh(CMPLX(-cimag(z), creal(z))); in ctan() 8 return CMPLX(cimag(z), -creal(z)); in ctan()
|
H A D | cacosh.c | 10 if (zineg) return CMPLX(cimag(z), -creal(z)); in cacosh() 11 else return CMPLX(-cimag(z), creal(z)); in cacosh()
|
H A D | casin.c | 12 x = creal(z); in casin() 16 return CMPLX(cimag(r), -creal(r)); in casin()
|
H A D | csinh.c | 46 x = creal(z); in csinh() 70 return CMPLX(creal(z) * copysign(1, x), cimag(z)); in csinh()
|
H A D | ccosh.c | 46 x = creal(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 | cproj.c | 5 if (isinf(creal(z)) || isinf(cimag(z))) in cproj()
|
H A D | __cexp.c | 72 x = creal(z); in __ldexp_cexp()
|
H A D | cexp.c | 39 x = creal(z); in cexp()
|
H A D | catan.c | 91 x = creal(z); in catan()
|
H A D | csqrt.c | 49 a = creal(z); in csqrt()
|
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/ |
H A D | complex_test.cpp | 489 * @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 D | tgmath.c | 86 #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 D | complex.h | 100 double creal(double complex); 108 #define creal(x) ((double)(x)) macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | complex.h | 100 double creal(double complex); 108 #define creal(x) ((double)(x)) macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | complex.h | 100 double creal(double complex); 108 #define creal(x) ((double)(x)) macro
|
/third_party/musl/include/ |
H A D | complex.h | 100 double creal(double complex); 108 #define creal(x) ((double)(x)) macro
|