| /netbsd-src/external/apache2/llvm/dist/clang/lib/Headers/openmp_wrappers/ |
| H A D | complex_cmath.h | 35 return hypot(__c.real(), __c.imag()); in abs() 41 return atan2(__c.imag(), __c.real()); in arg() 61 if (std::isinf(__c.imag())) in norm() 62 return abs(__c.imag()); in norm() 63 return __c.real() * __c.real() + __c.imag() * __c.imag(); in norm() 69 return std::complex<_Tp>(__c.real(), -__c.imag()); in conj() 76 if (std::isinf(__c.real()) || std::isinf(__c.imag())) in proj() 77 __r = std::complex<_Tp>(INFINITY, copysign(_Tp(0), __c.imag())); in proj() 122 if (std::isinf(__x.imag())) in sqrt() 123 return std::complex<_Tp>(_Tp(INFINITY), __x.imag()); in sqrt() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/include/ |
| H A D | complex | 30 T imag() const; // constexpr in C++14 33 void imag(T); 61 constexpr float imag() const; 62 void imag(float); 90 constexpr double imag() const; 91 void imag(double); 119 constexpr long double imag() const; 120 void imag(long double); 173 template<class T> T imag(const complex<T>&); // constexpr in C++14 174 long double imag(long double); // constexpr in C++14 [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/builtins/ppc/ |
| H A D | divtc3.c | 41 DD imag = { .ld = __gcc_qdiv(imagNumerator, denom) }; in __divtc3() local 45 imag.s.hi = crt_scalbn(imag.s.hi, -ilogbw); in __divtc3() 46 imag.s.lo = crt_scalbn(imag.s.lo, -ilogbw); in __divtc3() 48 if (crt_isnan(real.s.hi) && crt_isnan(imag.s.hi)) in __divtc3() 59 imag.s.hi = crt_copysign(CRT_INFINITY,cDD.s.hi) * bDD.s.hi; in __divtc3() 60 imag.s.lo = 0.0; in __divtc3() 70 imag.s.hi = CRT_INFINITY * (bDD.s.hi*cDD.s.hi - aDD.s.hi*dDD.s.hi); in __divtc3() 71 imag.s.lo = 0.0; in __divtc3() 81 imag.s.hi = crt_copysign(0.0,(bDD.s.hi*cDD.s.hi - aDD.s.hi*dDD.s.hi)); in __divtc3() 82 imag.s.lo = 0.0; in __divtc3() [all …]
|
| H A D | multc3.c | 29 DD imag = { .ld = __gcc_qadd(ad,bc) }; in __multc3() local 31 if (crt_isnan(real.s.hi) && crt_isnan(imag.s.hi)) in __multc3() 80 imag.s.hi = CRT_INFINITY * (aDD.s.hi*dDD.s.hi + bDD.s.hi*cDD.s.hi); in __multc3() 81 imag.s.lo = 0.0; in __multc3() 87 __imag__ z = imag.ld; in __multc3()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/ |
| H A D | complex | 156 : _M_real(__z.real()), _M_imag(__z.imag()) { } 167 imag() const { return _M_imag; } 179 imag() { return _M_imag; } 183 imag() const { return _M_imag; } 192 imag(_Tp __val) { _M_imag = __val; } 284 _M_imag = __z.imag(); 295 _M_imag += __z.imag(); 306 _M_imag -= __z.imag(); 317 const _Tp __r = _M_real * __z.real() - _M_imag * __z.imag(); 318 _M_imag = _M_real * __z.imag() + _M_imag * __z.real(); [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/ |
| H A D | complex | 155 : _M_real(__z.real()), _M_imag(__z.imag()) { } 166 imag() const { return _M_imag; } 178 imag() { return _M_imag; } 182 imag() const { return _M_imag; } 191 imag(_Tp __val) { _M_imag = __val; } 283 _M_imag = __z.imag(); 294 _M_imag += __z.imag(); 305 _M_imag -= __z.imag(); 316 const _Tp __r = _M_real * __z.real() - _M_imag * __z.imag(); 317 _M_imag = _M_real * __z.imag() + _M_imag * __z.real(); [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/tr1/ |
| H A D | complex | 73 return std::complex<_Tp>(__pi_2 - __t.real(), -__t.imag()); 107 std::complex<_Tp> __t(-__z.imag(), __z.real()); 109 return std::complex<_Tp>(__t.imag(), -__t.real()); 144 const _Tp __x = _Tp(1.0) - __r2 - __z.imag() * __z.imag(); 146 _Tp __num = __z.imag() + _Tp(1.0); 147 _Tp __den = __z.imag() - _Tp(1.0); 223 std::complex<_Tp> __t((__z.real() - __z.imag()) 224 * (__z.real() + __z.imag()) + _Tp(1.0), 225 _Tp(2.0) * __z.real() * __z.imag()); 262 const _Tp __i2 = __z.imag() * __z.imag(); [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/tr1/ |
| H A D | complex | 73 return std::complex<_Tp>(__pi_2 - __t.real(), -__t.imag()); 107 std::complex<_Tp> __t(-__z.imag(), __z.real()); 109 return std::complex<_Tp>(__t.imag(), -__t.real()); 144 const _Tp __x = _Tp(1.0) - __r2 - __z.imag() * __z.imag(); 146 _Tp __num = __z.imag() + _Tp(1.0); 147 _Tp __den = __z.imag() - _Tp(1.0); 223 std::complex<_Tp> __t((__z.real() - __z.imag()) 224 * (__z.real() + __z.imag()) + _Tp(1.0), 225 _Tp(2.0) * __z.real() * __z.imag()); 262 const _Tp __i2 = __z.imag() * __z.imag(); [all …]
|
| /netbsd-src/external/bsd/pcc/dist/pcc/cc/cxxcom/ |
| H A D | pftn.c | 1731 int class, qual, sig, uns, cmplx, imag, err; member 1842 tc->imag = 1; in typwalk() 1867 if (tc.cmplx || tc.imag) { in typenode() 1870 if ((tc.cmplx && tc.imag) || tc.sig || tc.uns || in typenode() 2957 static char *real, *imag; variable 2975 imag = addname("__imag"); in complinit() 2981 soumemb(p, imag, 0); in complinit() 3048 p = comop(p, buildtree(ASSIGN, structref(ccopy(q), DOT, imag), i)); in mkcmplx() 3060 structref(ccopy(q), DOT, imag), in mkcmplx() 3061 structref(t, STREF, imag))); in mkcmplx() [all …]
|
| /netbsd-src/external/bsd/pcc/dist/pcc/cc/ccom/ |
| H A D | pftn.c | 1715 int class, qual, sig, uns, cmplx, imag, err, align; member 1843 tc->imag = 1; in typwalk() 1869 if (tc.cmplx || tc.imag) { in typenode() 1872 if ((tc.cmplx && tc.imag) || tc.sig || tc.uns || in typenode() 2984 static char *real, *imag; variable 3004 imag = addname("__imag"); in complinit() 3010 soumemb(p, imag, 0); in complinit() 3113 p = comop(p, buildtree(ASSIGN, structref(ccopy(q), DOT, imag), i)); in mkcmplx() 3125 structref(ccopy(q), DOT, imag), in mkcmplx() 3126 structref(t, STREF, imag))); in mkcmplx() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/docs/tutorial/MyFirstLanguageFrontend/ |
| H A D | LangImpl06.rst | 549 def mandelconverger(real imag iters creal cimag) 550 if iters > 255 | (real*real + imag*imag > 4) then 553 mandelconverger(real*real - imag*imag + creal, 554 2*real*imag + cimag, 558 def mandelconverge(real imag) 559 mandelconverger(real, imag, 0, real, imag);
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Headers/cuda_wrappers/ |
| H A D | complex | 60 // return complex<T>(sin(x.real()) * cosh(x.imag()), 61 // cos(x.real()), sinh(x.imag()));
|
| /netbsd-src/external/lgpl3/mpc/dist/tests/ |
| H A D | tpl_mpc.c | 44 tpl_read_ternary(datafile_context, &ternarypair->imag); in tpl_read_mpc_inex()
|
| H A D | print_parameter.c | 102 MPFR_INEX_STR (params->P[index].mpc_inex_data.imag)); in print_parameter()
|
| H A D | check_data.c | 59 expected->mpc_inex_data.imag); in check_param()
|
| H A D | double_rounding.c | 135 params->P[offset].mpc_inex_data.imag = inex_im; in double_rounding()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/ |
| H A D | primary.c | 230 convert_complex (gfc_expr *real, gfc_expr *imag, int kind) in convert_complex() argument 235 mpc_set_fr_fr (e->value.complex, real->value.real, imag->value.real, in convert_complex() 1437 gfc_expr *e, *real, *imag; in match_complex_constant() local 1445 real = imag = e = NULL; in match_complex_constant() 1483 m = match_complex_part (&imag); in match_complex_constant() 1509 if (imag->ts.type == BT_REAL) in match_complex_constant() 1510 kind = gfc_kind_max (real, imag); in match_complex_constant() 1516 if (imag->ts.type == BT_REAL) in match_complex_constant() 1517 kind = imag->ts.kind; in match_complex_constant() 1527 if (imag->ts.type != BT_REAL || kind != imag->ts.kind) in match_complex_constant() [all …]
|
| H A D | trans-const.c | 354 tree imag = gfc_conv_mpfr_to_tree (mpc_imagref (expr->value.complex), in gfc_conv_constant_to_tree() local 358 real, imag); in gfc_conv_constant_to_tree()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/fortran/ |
| H A D | primary.cc | 230 convert_complex (gfc_expr *real, gfc_expr *imag, int kind) in convert_complex() argument 235 mpc_set_fr_fr (e->value.complex, real->value.real, imag->value.real, in convert_complex() 1416 gfc_expr *e, *real, *imag; in match_complex_constant() local 1424 real = imag = e = NULL; in match_complex_constant() 1462 m = match_complex_part (&imag); in match_complex_constant() 1488 if (imag->ts.type == BT_REAL) in match_complex_constant() 1489 kind = gfc_kind_max (real, imag); in match_complex_constant() 1495 if (imag->ts.type == BT_REAL) in match_complex_constant() 1496 kind = imag->ts.kind; in match_complex_constant() 1506 if (imag->ts.type != BT_REAL || kind != imag->ts.kind) in match_complex_constant() [all …]
|
| H A D | trans-const.cc | 354 tree imag = gfc_conv_mpfr_to_tree (mpc_imagref (expr->value.complex), in gfc_conv_constant_to_tree() local 358 real, imag); in gfc_conv_constant_to_tree()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | gimple-range-fold.cc | 406 wide_int imag = wi::to_wide (TREE_IMAGPART (cst)); in adjust_imagpart_expr() local 407 res.intersect (imag, imag); in adjust_imagpart_expr() 432 tree imag = TREE_REALPART (cst); in adjust_realpart_expr() local 433 int_range<2> tmp (imag, imag); in adjust_realpart_expr()
|
| /netbsd-src/external/lgpl3/mpc/dist/src/ |
| H A D | Makefile.am | 27 get_version.c get_x.c imag.c init2.c init3.c inp_str.c log.c log10.c \
|
| H A D | Makefile.in | 141 get_prec2.lo get_prec.lo get_version.lo get_x.lo imag.lo \ 189 ./$(DEPDIR)/get_x.Plo ./$(DEPDIR)/imag.Plo \ 395 get_version.c get_x.c imag.c init2.c init3.c inp_str.c log.c log10.c \ 521 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imag.Plo@am__quote@ # am--include-marker 769 -rm -f ./$(DEPDIR)/imag.Plo 901 -rm -f ./$(DEPDIR)/imag.Plo
|
| /netbsd-src/external/lgpl3/mpc/lib/libmpc/ |
| H A D | Makefile | 55 imag.c \
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | tree-complex.c | 136 find_lattice_value_parts (tree real, tree imag) in find_lattice_value_parts() argument 142 i = some_nonzerop (imag); in find_lattice_value_parts() 160 tree real, imag; in find_lattice_value() local 169 imag = TREE_IMAGPART (t); in find_lattice_value() 176 return find_lattice_value_parts (real, imag); in find_lattice_value()
|