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

/openbsd-current/lib/libm/src/
H A Ds_cimag.c23 cimag(double complex z) function
27 DEF_STD(cimag); variable
28 LDBL_MAYBE_CLONE(cimag); variable
H A Ds_cacos.c59 w = (M_PI_2 - creal (w)) - cimag (w) * I;
H A Ds_casin.c64 y = cimag (z);
124 zz = 1.0 - creal(zz) - cimag(zz) * I;
H A Ds_ccosh.c56 y = cimag(z);
H A Ds_cexp.c67 y = cimag (z);
H A Ds_clog.c70 rr = atan2 (cimag (z), creal (z));
H A Ds_csinh.c55 y = cimag(z);
H A Ds_ctanh.c56 y = cimag(z);
H A Ds_ctan.c97 y = fabs (2.0 * cimag(z));
140 d = cos (2.0 * creal (z)) + cosh (2.0 * cimag (z));
151 w = sin (2.0 * creal(z)) / d + (sinh (2.0 * cimag(z)) / d) * I;
H A Ds_ccos.c82 _cchsh( cimag(z), &ch, &sh );
H A Ds_cpow.c58 y = cimag (z);
H A Ds_csin.c84 cchsh( cimag (z), &ch, &sh );
H A Ds_catan.c100 y = cimag (z);
H A Ds_csqrt.c72 y = cimag (z);
/openbsd-current/regress/lib/libm/msun/
H A Dconj_test.c48 static double (*libcimag)(double complex) = cimag;
80 __imag__ expected = -cimag(in);
92 "conjf(%#.2g + %#.2gI): wrong value", creal(in), cimag(in)
96 cimag(in), fetestexcept(FE_ALL_EXCEPT));
100 "conj(%#.2g + %#.2gI): wrong value", creal(in), cimag(in));
103 cimag(in), fetestexcept(FE_ALL_EXCEPT));
107 "conjl(%#.2g + %#.2gI): wrong value", creal(in), cimag(in));
110 cimag(in), fetestexcept(FE_ALL_EXCEPT));
H A Dtest-utils.h184 fpequal_cs(cimag(_x), cimag(_y), (checksign & CS_IMAG) != 0);
193 fpequal_cs(cimag(_x), cimag(_y), (checksign & CS_IMAG) != 0); \
202 fpequal_tol(cimag(_x), cimag(_y), tol, flags)); \
H A Dctrig_test.c329 printf("%a %a\n", creal(z), cimag(z));
330 printf("%a %a\n", creal(ctanhf(z)), cimag(ctanhf(z)));
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A Dbuiltin-complex-1.c1 /* Test for builtin conj, creal, cimag. */
13 extern double cimag (double _Complex);
71 if (cimag (dc) != 2.0)
75 if (cimag (1.0 + 2.0i) != 2.0)
154 cimag (double _Complex z) function
/openbsd-current/lib/libm/hidden/
H A Dcomplex.h41 PROTO_NORMAL(cimag); variable
/openbsd-current/include/
H A Dcomplex.h61 double cimag(double complex);
H A Dtgmath.h164 #define cimag(x) __tg_simple(x, cimag) macro
/openbsd-current/gnu/llvm/clang/lib/Headers/
H A Dtgmath.h1247 // cimag
1267 __tg_cimag(double _Complex __x) {return cimag(__x);}
1273 #undef cimag macro
1274 #define cimag(__x) __tg_cimag(__tg_promote1((__x))(__x)) macro
/openbsd-current/lib/libm/
H A DMakefile155 ccos.3 ccosh.3 cexp.3 cimag.3 clog.3 conj.3 cpow.3 cproj.3 \

Completed in 181 milliseconds