Searched refs:creal (Results 1 - 23 of 23) sorted by last modified time

/openbsd-current/lib/libm/
H A DMakefile156 creal.3 csin.3 csinh.3 csqrt.3 ctan.3 ctanh.3
/openbsd-current/regress/lib/libm/msun/
H A Dctrig_test.c329 printf("%a %a\n", creal(z), cimag(z));
330 printf("%a %a\n", creal(ctanhf(z)), cimag(ctanhf(z)));
H A Dconj_test.c45 static double (*libcreal)(double complex) = creal;
92 "conjf(%#.2g + %#.2gI): wrong value", creal(in), cimag(in)
95 "conj(%#.2g + %#.2gI): threw an exception: %#x", creal(in),
100 "conj(%#.2g + %#.2gI): wrong value", creal(in), cimag(in));
102 "conj(%#.2g + %#.2gI): threw an exception: %#x", creal(in),
107 "conjl(%#.2g + %#.2gI): wrong value", creal(in), cimag(in));
109 "conjl(%#.2g + %#.2gI): threw an exception: %#x", creal(in),
H A Dtest-utils.h183 fpequal_cs(creal(_x), creal(_y), (checksign & CS_REAL) != 0) &&
192 fpequal_cs(creal(_x), creal(_y), (checksign & CS_REAL) != 0) && \
201 bool equal_tol = (fpequal_tol(creal(_x), creal(_y), tol, flags) && \
/openbsd-current/gnu/llvm/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
/openbsd-current/lib/libm/hidden/
H A Dcomplex.h44 PROTO_NORMAL(creal); variable
/openbsd-current/lib/libm/src/
H A Ds_cacos.c59 w = (M_PI_2 - creal (w)) - cimag (w) * I;
H A Ds_casin.c63 x = creal (z);
124 zz = 1.0 - creal(zz) - cimag(zz) * I;
H A Ds_catan.c99 x = creal (z);
H A Ds_ccos.c83 w = cos(creal (z)) * ch - (sin (creal (z)) * sh) * I;
H A Ds_ccosh.c55 x = creal(z);
H A Ds_cexp.c66 x = creal (z);
H A Ds_clog.c70 rr = atan2 (cimag (z), creal (z));
H A Ds_cpow.c57 x = creal (z);
H A Ds_creal.c23 creal(double complex z) function
27 DEF_STD(creal); variable
28 LDBL_MAYBE_CLONE(creal); variable
H A Ds_csin.c85 w = sin (creal(z)) * ch + (cos (creal(z)) * sh) * I;
H A Ds_csinh.c54 x = creal(z);
H A Ds_csqrt.c71 x = creal (z);
H A Ds_ctan.c96 x = fabs (2.0 * creal (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_ctanh.c55 x = creal(z);
/openbsd-current/include/
H A Dcomplex.h64 double creal(double complex);
H A Dtgmath.h167 #define creal(x) __tg_simple(x, creal) macro
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A Dbuiltin-complex-1.c1 /* Test for builtin conj, creal, cimag. */
9 extern double creal (double _Complex);
63 if (creal (dc) != 1.0)
67 if (creal (1.0 + 2.0i) != 1.0)
136 creal (double _Complex z) function

Completed in 320 milliseconds