Searched refs:im (Results 1 - 25 of 60) sorted by relevance

123

/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Doverload8.C3 typedef struct{double re,im;} complex; member in struct:__anon1211
4 class Complex{public:double re,im; member in class:Complex
5 inline void operator=(Complex&X){re=X.re; im=X.im;}};
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/torture/
H A Dpr66280-2.C6 short im; member in struct:__anon1106
11 int im; member in struct:__anon1107
22 d[a].re = d[a].im = e[a].im = c[a].im * b;
H A Dpr66280.C6 short im; member in struct:__anon1108
11 int im; member in struct:__anon1109
22 d[a].re = d[a].im = e[a].re = c[a].re * b;
23 e[a].im = c[a].im * b;
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dp991.C7 double im; member in class:Complex
8 Complex(double r,double i) : re(r), im(i) {}
19 double nr = cos(arg.re)*cosh(arg.im);
20 double ni = -sin(arg.re)*sinh(arg.im);
H A Dp6611.C6 COMPLEX(double a, double b=0) { re = a; im = b; }
10 double im; member in class:COMPLEX
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/
H A Dmissing_optional_dummy_3.f9023 complex function MY_CMPLX (re, im)
25 real, intent(in), optional :: im local in function:MY_CMPLX
26 if (present (im)) then
27 MY_CMPLX = cmplx (re, im)
H A Dcoarray_18.f9027 integer :: im[2,2,2,2,2,2,2,2,*] ! { dg-error "has more than 7 dimensions" }
H A Dentry_16.f9013 integer :: im component in type:cx
28 cx_cadr%im = z%im
33 cx_eq = (u%re .eq. v%re) .and. (u%im .eq. v%im)
H A Dproc_ptr_1.f9017 complex function proc3(re, im)
18 real, intent(in) :: re, im local in function:proc3
19 proc3 = complex (re, im)
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compat/
H A Dstruct-ret-1.c1 typedef struct { int re; int im; } T; member in struct:__anon1366
11 x.im = arg2;
21 if (result.re != 3 || result.im != 4)
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/opt/
H A Dpr14888.C10 float re, im; member in class:xcomplex
13 { re*=fact; im*=fact; return *this; }
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/graphite/
H A Dpr42521.c6 void foo(int im, int jm, int cond) argument
13 for (i = 0; i < im; i++)
H A Dpr42771.c7 void foo(int im, int jm, int cond) argument
15 for (i = 0; i < im; i++)
/haiku-buildtools/gcc/mpc/src/
H A Dui_ui_sub.c25 mpc_ui_ui_sub (mpc_ptr rop, unsigned long int re, unsigned long int im, argument
31 inex_im = mpfr_ui_sub (mpc_imagref (rop), im, mpc_imagref (op), MPC_RND_IM (rnd));
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dctors12.C11 double im; member in class:complex
15 complex() { re=im=0; magic=MAGIC; }
16 complex(double d) { re=d; im=0; magic=MAGIC; }
17 complex(double d, double d2) {re=d; im=d2; magic=MAGIC; }
20 { return o << "(" << c.re << "," << c.im << ")"; }
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/bfin/
H A D20090914-1.c11 fract16 im; member in struct:complex_fract16
27 ((_sum).im, (_sum).re),
28 __builtin_bfin_compose_2x16 ((_a).im, (_a).re),
29 __builtin_bfin_compose_2x16 ((_b).im, (_b).re));
31 (r).im = __builtin_bfin_extract_hi (i);
H A D20090411-1.c11 fract16 im; member in struct:complex_fract16
20 __builtin_bfin_csqu_fr16 (__builtin_bfin_compose_2x16 ((_a).im, (_a).re));
22 (_x).im = __builtin_bfin_extract_hi (i);
H A D20090914-2.c9 fract16 im; member in struct:complex_fract16
21 i = __builtin_bfin_cmplx_mul(__builtin_bfin_compose_2x16((_a).im, (_a).re),
22 __builtin_bfin_compose_2x16((_b).im, (_b).re));
24 (r).im = __builtin_bfin_extract_hi(i);
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Dtiemann2.C10 double re, im; member in class:complex
12 complex (double r, double i=0) { re = r; im = i; }
14 void print () { printf ("re = %g; im = %g;\n", re, im); }
18 double c1 = x.re * x.re + x.im * x.im;
19 double c2 = y.re * y.re + y.im * y.im;
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D981007-1.c5 double re,im; member in struct:complexm
13 ct.im=fabs(i)<1E-300?0.0:i;
/haiku-buildtools/gcc/gcc/testsuite/go.test/test/fixedbugs/
H A Dbug216.go14 var re, im = complexSqrt(-1) var
17 if re != 0 || im != 1 {
18 println("BUG: bug216: want 0,-1 have ", re, im)
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dconstexpr-diag3.C18 complex(double r, double i) : re(r), im(i) { }
20 double imag() const { return im; }
24 double im; member in struct:complex
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/graphite/
H A Did-18.f9013 DO im = 1, mm
/haiku-buildtools/legacy/gcc/libstdc++/std/
H A Dldcomplex.h39 complex (long double r = 0, long double i = 0): re (r), im (i) { }
40 complex (const complex<float>& r): re (r.real ()), im (r.imag ()) { }
41 complex (const complex<double>& r): re (r.real ()), im (r.imag ()) { }
49 long double imag () const { return im; }
51 long double re, im; member in class:complex
87 : re (r.real ()), im (r.imag ())
91 : re (r.real ()), im (r.imag ())
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/dfp/
H A Dddmode-ice.c15 int im; local
40 yx = y[ip][j] - y[im][j];
47 qxx = y[ip][j] - 2.0dd * y[i][j] + y[im][j];
49 qxy = y[ip][jp] - y[ip][jm] - y[im][jp] + y[im][jm];

Completed in 217 milliseconds

123