Home
last modified time | relevance | path

Searched refs:cimag (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/lib/msun/tests/
H A Dconj_test.c49 static double (*libcimag)(double complex) = cimag;
81 __imag__ expected = -cimag(in); in ATF_TC_BODY()
93 "conjf(%#.2g + %#.2gI): wrong value", creal(in), cimag(in) in ATF_TC_BODY()
97 cimag(in), fetestexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
101 "conj(%#.2g + %#.2gI): wrong value", creal(in), cimag(in)); in ATF_TC_BODY()
104 cimag(in), fetestexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
108 "conjl(%#.2g + %#.2gI): wrong value", creal(in), cimag(in)); in ATF_TC_BODY()
111 cimag(in), fetestexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
H A Dtest-utils.h177 fpequal_cs(cimag(_x), cimag(_y), (checksign & CS_IMAG) != 0); \
187 fpequal_tol(cimag(_x), cimag(_y), tol, flags)); \
H A Dctrig_test.c329 debug("%a %a\n", creal(z), cimag(z)); in ATF_TC_BODY()
330 debug("%a %a\n", creal(ctanhf(z)), cimag(ctanhf(z))); in ATF_TC_BODY()
/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_casinh.c49 crude_equality(cimag(ci), cimag(b)), \
51 creal(a), cimag(a), creal(ci), cimag(ci), creal(b), cimag(b)); \
/freebsd/lib/msun/src/
H A Dcatrig.c281 y = cimag(z); in casinh()
309 return (CMPLX(copysign(creal(w), x), copysign(cimag(w), y))); in casinh()
337 double complex w = casinh(CMPLX(cimag(z), creal(z))); in casin()
339 return (CMPLX(cimag(w), creal(w))); in casin()
363 y = cimag(z); in cacos()
390 rx = fabs(cimag(w)); in cacos()
436 ry = cimag(w); in cacosh()
447 return (CMPLX(fabs(ry), copysign(rx, cimag(z)))); in cacosh()
460 y = cimag(z); in clog_for_large_values()
576 y = cimag(z); in catanh()
[all …]
H A Ds_csinh.c55 y = cimag(z); in csinh()
80 return (CMPLX(creal(z) * copysign(1, x), cimag(z))); in csinh()
158 z = csinh(CMPLX(cimag(z), creal(z))); in csin()
159 return (CMPLX(cimag(z), creal(z))); in csin()
H A Ds_ctanh.c81 y = cimag(z); in ctanh()
144 z = ctanh(CMPLX(cimag(z), creal(z))); in ctan()
145 return (CMPLX(cimag(z), creal(z))); in ctan()
H A Ds_ccosh.c55 y = cimag(z); in ccosh()
80 return (CMPLX(creal(z), cimag(z) * copysign(1, x))); in ccosh()
159 return (ccosh(CMPLX(-cimag(z), creal(z)))); in ccos()
H A Ds_cproj.c39 if (!isinf(creal(z)) && !isinf(cimag(z))) in cproj()
42 return (CMPLX(INFINITY, copysign(0.0, cimag(z)))); in cproj()
H A Ds_carg.c36 return (atan2(cimag(z), creal(z))); in carg()
H A Ds_cimag.c33 cimag(double complex z) in cimag() function
H A Ds_conj.c37 return (CMPLX(creal(z), -cimag(z))); in conj()
H A Dw_cabs.c15 return hypot(creal(z), cimag(z)); in cabs()
H A Ds_cpow.c58 y = cimag (z); in cpow()
H A Ds_cexp.c46 y = cimag(z); in cexp()
H A Ds_csqrtf.c41 b = cimag(z); in csqrtf()
H A Dk_exp.c92 y = cimag(z); in __ldexp_cexp()
H A Ds_csqrt.c45 b = cimag(z); in csqrt()
H A Ds_clog.c51 y = cimag(z); in clog()
/freebsd/lib/msun/
H A DMakefile187 cimag.3 clog.3 copysign.3 cos.3 cosh.3 cospi.3 \
223 MLINKS+=cimag.3 cimagf.3 cimag.3 cimagl.3 \
224 cimag.3 conj.3 cimag.3 conjf.3 cimag.3 conjl.3 \
225 cimag.3 cproj.3 cimag.3 cprojf.3 cimag.3 cprojl.3 \
226 cimag.3 creal.3 cimag.3 crealf.3 cimag.3 creall.3
H A DSymbol.map69 cimag;
/freebsd/include/
H A Dtgmath.h205 #define cimag(x) __tg_simple(x, cimag) macro
H A Dcomplex.h101 double cimag(double complex) __pure2;
/freebsd/tools/regression/include/tgmath/
H A Dtgmath.c158 TGMACRO_COMPLEX_REAL_RET(cimag)
605 PASS_REAL_ARG_REAL_RET_(cimag, _complex) && in main()
606 PASS_COMPLEX_ARG_REAL_RET(cimag)); in main()
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Dtgmath.h1267 __tg_cimag(double _Complex __x) {return cimag(__x);} in __tg_cimag()
1273 #undef cimag
1274 #define cimag(__x) __tg_cimag(__tg_promote1((__x))(__x)) macro

12