/openbsd/gnu/llvm/clang/lib/Headers/openmp_wrappers/ |
H A D | complex_cmath.h | 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() 129 return std::complex<_Tp>(std::isnan(__x.imag()) ? __x.imag() : _Tp(0), in sqrt() 139 _Tp __i = __x.imag(); in exp() 187 if (__x.imag() == 0) in asinh() 196 copysign(__z.imag(), __x.imag())); in asinh() 229 copysign(__z.imag(), __x.imag())); in acosh() 244 return std::complex<_Tp>(__x.imag(), __x.imag()); in atanh() 259 copysign(__z.imag(), __x.imag())); in atanh() [all …]
|
/openbsd/gnu/llvm/libcxx/include/ |
H A D | complex | 590 _Tp __b = __z.imag(); 820 return __x.real() == __y.real() && __x.imag() == __y.imag(); 904 // imag 911 return __c.imag(); 917 imag(_Tp) 987 return __c.real() * __c.real() + __c.imag() * __c.imag(); 1120 …mplex<_Tp>(__x.real(), std::__constexpr_isnan(__x.imag()) ? __x.imag() : std::copysign(_Tp(0), __x… 1121 …urn complex<_Tp>(std::__constexpr_isnan(__x.imag()) ? __x.imag() : _Tp(0), std::copysign(__x.real(… 1206 return complex<_Tp>((__x.real() - __x.imag()) * (__x.real() + __x.imag()), 1288 return complex<_Tp>(__x.imag(), __x.imag()); [all …]
|
/openbsd/gnu/lib/libstdc++/libstdc++/include/std/ |
H A D | std_complex.h | 101 _Tp imag() const; 199 _M_imag = __z.imag(); 210 _M_imag += __z.imag(); 221 _M_imag -= __z.imag(); 326 { return __x.real() == __y.real() && __x.imag() == __y.imag(); } 341 { return __x.real() != __y.real() || __x.imag() != __y.imag(); } 406 { return __z.imag(); } in imag() 413 _Tp __y = __z.imag(); in abs() 529 _Tp __y = __z.imag(); 609 float imag() const; [all …]
|
/openbsd/gnu/gcc/libstdc++-v3/include/std/ |
H A D | std_complex.h | 135 _Tp& imag(); 256 _M_imag = __z.imag(); 451 { return __x.real() == __y.real() && __x.imag() == __y.imag(); } 469 { return __x.real() != __y.real() || __x.imag() != __y.imag(); } 541 imag(complex<_Tp>& __z) in imag() function 542 { return __z.imag(); } in imag() 547 { return __z.imag(); } in imag() 1016 float& imag(); 1054 complex<float>::imag() 1170 double& imag(); [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/builtins/ppc/ |
H A D | divtc3.c | 50 DD imag = {.ld = __gcc_qdiv(imagNumerator, denom)}; in __divtc3() local 54 imag.s.hi = __compiler_rt_scalbn(imag.s.hi, -ilogbw); in __divtc3() 55 imag.s.lo = __compiler_rt_scalbn(imag.s.lo, -ilogbw); in __divtc3() 57 if (crt_isnan(real.s.hi) && crt_isnan(imag.s.hi)) { in __divtc3() 65 imag.s.hi = crt_copysign(CRT_INFINITY, cDD.s.hi) * bDD.s.hi; in __divtc3() 66 imag.s.lo = 0.0; in __divtc3() 75 imag.s.hi = CRT_INFINITY * (bDD.s.hi * cDD.s.hi - aDD.s.hi * dDD.s.hi); in __divtc3() 76 imag.s.lo = 0.0; in __divtc3() 86 imag.s.hi = in __divtc3() 88 imag.s.lo = 0.0; in __divtc3() [all …]
|
H A D | multc3.c | 30 DD imag = {.ld = __gcc_qadd(ad, bc)}; in __multc3() local 32 if (crt_isnan(real.s.hi) && crt_isnan(imag.s.hi)) { in __multc3() 75 imag.s.hi = CRT_INFINITY * (aDD.s.hi * dDD.s.hi + bDD.s.hi * cDD.s.hi); in __multc3() 76 imag.s.lo = 0.0; in __multc3() 82 __imag__ z = imag.ld; in __multc3()
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/ |
H A D | scoping15.C | 7 friend double imag(const DComplex& a); 12 friend float imag(const FComplex& a); 18 int imag; in scnrm2() local 19 ::imag( cx[0] ); in scnrm2()
|
/openbsd/gnu/gcc/libstdc++-v3/include/tr1/ |
H A D | complex | 98 std::complex<_Tp> __t(-__z.imag(), __z.real()); 135 const _Tp __x = _Tp(1.0) - __r2 - __z.imag() * __z.imag(); 137 _Tp __num = __z.imag() + _Tp(1.0); 138 _Tp __den = __z.imag() - _Tp(1.0); 179 * (__z.real() + __z.imag()) - _Tp(1.0), 180 _Tp(2.0) * __z.real() * __z.imag()); 218 * (__z.real() + __z.imag()) + _Tp(1.0), 219 _Tp(2.0) * __z.real() * __z.imag()); 256 const _Tp __i2 = __z.imag() * __z.imag(); 345 using std::imag; [all …]
|
/openbsd/gnu/lib/libstdc++/libstdc++/testsuite/26_numerics/ |
H A D | complex_value.cc | 39 d = a.imag(); in test01() 47 double d8 = atan2(c.imag(), c.real()); in test01() 56 complex_type f = polar(c.imag(), 0.0); in test01()
|
H A D | complex_inserters_extractors.cc | 48 VERIFY( flteq(z.imag(), y) ); in test_good()
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/ |
H A D | unchanging1.C | 38 (*o)[i] *= complex<double>((*p)[i].real(), (*p)[i].imag()); in foo()
|
/openbsd/gnu/llvm/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()));
|
/openbsd/gnu/llvm/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);
|
/openbsd/gnu/gcc/gcc/ |
H A D | calls.c | 3190 tree real, imag, next; in split_complex_values() local 3195 imag = build1 (IMAGPART_EXPR, subtype, complex_value); in split_complex_values() 3199 imag = build_tree_list (NULL_TREE, imag); in split_complex_values() 3200 TREE_CHAIN (p) = imag; in split_complex_values() 3201 TREE_CHAIN (imag) = next; in split_complex_values() 3238 tree next, imag; in split_complex_types() local 3245 imag = build_tree_list (NULL_TREE, TREE_VALUE (p)); in split_complex_types() 3246 TREE_CHAIN (p) = imag; in split_complex_types() 3247 TREE_CHAIN (imag) = next; in split_complex_types()
|
H A D | function.c | 2917 rtx tmp, real, imag; in assign_parms_unsplit_complex() local 2921 imag = DECL_RTL (TREE_CHAIN (fnargs)); in assign_parms_unsplit_complex() 2925 imag = gen_lowpart_SUBREG (inner, imag); in assign_parms_unsplit_complex() 2942 emit_move_insn (imem, imag); in assign_parms_unsplit_complex() 2947 tmp = gen_rtx_CONCAT (DECL_MODE (parm), real, imag); in assign_parms_unsplit_complex() 2951 imag = DECL_INCOMING_RTL (TREE_CHAIN (fnargs)); in assign_parms_unsplit_complex() 2955 imag = gen_lowpart_SUBREG (inner, imag); in assign_parms_unsplit_complex() 2957 tmp = gen_rtx_CONCAT (DECL_MODE (parm), real, imag); in assign_parms_unsplit_complex()
|
H A D | tree-complex.c | 112 tree real, imag; in find_lattice_value() local 124 imag = TREE_IMAGPART (t); in find_lattice_value() 129 imag = TREE_OPERAND (t, 1); in find_lattice_value() 137 i = some_nonzerop (imag); in find_lattice_value()
|
H A D | tree-browser.def | 78 DEFTBCODE (TB_IMAG, "imag", "Field accessor.")
|
H A D | tree.c | 1154 build_complex (tree type, tree real, tree imag) in build_complex() argument 1159 TREE_IMAGPART (t) = imag; in build_complex() 1161 TREE_OVERFLOW (t) = TREE_OVERFLOW (real) | TREE_OVERFLOW (imag); in build_complex() 1163 = TREE_CONSTANT_OVERFLOW (real) | TREE_CONSTANT_OVERFLOW (imag); in build_complex()
|
/openbsd/gnu/llvm/clang/include/clang/AST/ |
H A D | PropertiesBase.td | 300 def : Property<"imag", APSInt> { 303 def : Creator<[{ return APValue(real, imag); }]>; 318 def : Property<"imag", APInt> { 325 llvm::APFloat(sema, imag));
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | tree.c | 553 build_complex (type, real, imag) in build_complex() argument 555 tree real, imag; 560 TREE_IMAGPART (t) = imag; 562 TREE_OVERFLOW (t) = TREE_OVERFLOW (real) | TREE_OVERFLOW (imag); 564 = TREE_CONSTANT_OVERFLOW (real) | TREE_CONSTANT_OVERFLOW (imag);
|
H A D | optabs.c | 2857 rtx real, imag, total; local 2860 imag = gen_imagpart (submode, op0); 2864 imag = expand_mult (submode, imag, imag, NULL_RTX, 0); 2867 total = expand_binop (submode, add_optab, real, imag, NULL_RTX,
|
H A D | tree.h | 777 #define TREE_IMAGPART(NODE) (COMPLEX_CST_CHECK (NODE)->complex.imag) 784 tree imag; member
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGCleanup.cpp | 99 llvm::Value *imag = in restore() local 101 return RValue::getComplex(real, imag); in restore()
|
/openbsd/gnu/gcc/gcc/cp/ |
H A D | typeck.c | 4109 tree real, imag; in build_unary_op() local 4113 imag = build_unary_op (IMAGPART_EXPR, arg, 1); in build_unary_op() 4115 build_unary_op (code, real, 1), imag); in build_unary_op()
|
/openbsd/gnu/usr.bin/gcc/gcc/cp/ |
H A D | typeck.c | 4051 tree real, imag; local 4055 imag = build_unary_op (IMAGPART_EXPR, arg, 1); 4057 build_unary_op (code, real, 1), imag);
|