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

/freebsd-current/lib/msun/src/
H A Ds_creal.c32 creal(double complex z) function
H A Ds_conj.c37 return (CMPLX(creal(z), -cimag(z)));
H A Ds_carg.c36 return (atan2(cimag(z), creal(z)));
H A Dw_cabs.c15 return hypot(creal(z), cimag(z));
H A Ds_cproj.c39 if (!isinf(creal(z)) && !isinf(cimag(z)))
H A Ds_csinh.c54 x = creal(z);
78 return (CMPLX(creal(z) * copysign(1, x), cimag(z)));
154 z = csinh(CMPLX(cimag(z), creal(z)));
155 return (CMPLX(cimag(z), creal(z)));
H A Ds_ctanh.c80 x = creal(z);
144 z = ctanh(CMPLX(cimag(z), creal(z)));
145 return (CMPLX(cimag(z), creal(z)));
H A Ds_ccosh.c54 x = creal(z);
78 return (CMPLX(creal(z), cimag(z) * copysign(1, x)));
155 return (ccosh(CMPLX(-cimag(z), creal(z))));
H A Ds_cpow.c57 x = creal (z);
H A Dcatrig.c280 x = creal(z);
309 return (CMPLX(copysign(creal(w), x), copysign(cimag(w), y)));
337 double complex w = casinh(CMPLX(cimag(z), creal(z)));
339 return (CMPLX(cimag(w), creal(w)));
362 x = creal(z);
391 ry = creal(w) + m_ln2;
435 rx = creal(w);
459 x = creal(z);
522 * the code creal(1/z), because the imaginary part may produce an unwanted
575 x = creal(
[all...]
H A Ds_csqrtf.c40 a = creal(z);
H A Dk_exp.c91 x = creal(z);
H A Ds_cexp.c45 x = creal(z);
H A Ds_csqrt.c44 a = creal(z);
H A Ds_clog.c50 x = creal(z);
/freebsd-current/lib/msun/tests/
H A Dconj_test.c46 static double (*libcreal)(double complex) = creal;
93 "conjf(%#.2g + %#.2gI): wrong value", creal(in), cimag(in)
96 "conj(%#.2g + %#.2gI): threw an exception: %#x", creal(in),
101 "conj(%#.2g + %#.2gI): wrong value", creal(in), cimag(in));
103 "conj(%#.2g + %#.2gI): threw an exception: %#x", creal(in),
108 "conjl(%#.2g + %#.2gI): wrong value", creal(in), cimag(in));
110 "conjl(%#.2g + %#.2gI): threw an exception: %#x", creal(in),
H A Dtest-utils.h177 fpequal_cs(creal(_x), creal(_y), (checksign & CS_REAL) != 0) && \
186 bool equal_tol = (fpequal_tol(creal(_x), creal(_y), tol, flags) && \
H A Dctrig_test.c326 printf("%a %a\n", creal(z), cimag(z));
327 printf("%a %a\n", creal(ctanhf(z)), cimag(ctanhf(z)));
/freebsd-current/contrib/netbsd-tests/lib/libm/
H A Dt_casinh.c48 ATF_CHECK_MSG(crude_equality(creal(ci),creal(b)) && \
51 creal(a), cimag(a), creal(ci), cimag(ci), creal(b), cimag(b)); \
/freebsd-current/include/
H A Dcomplex.h120 double creal(double complex) __pure2;
H A Dtgmath.h208 #define creal(x) __tg_simple(x, creal) macro
/freebsd-current/tools/regression/include/tgmath/
H A Dtgmath.c161 TGMACRO_COMPLEX_REAL_RET(creal)
616 PRINT("creal",
617 PASS_REAL_ARG_REAL_RET_(creal, _complex) &&
618 PASS_COMPLEX_ARG_REAL_RET(creal));
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A Dtgmath.h1334 // creal
1354 __tg_creal(double _Complex __x) {return creal(__x);}
1360 #undef creal macro
1361 #define creal(__x) __tg_creal(__tg_promote1((__x))(__x)) macro
/freebsd-current/lib/msun/
H A DMakefile208 cimag.3 creal.3 cimag.3 crealf.3 cimag.3 creall.3

Completed in 325 milliseconds