Searched refs:_M_im (Results 1 – 3 of 3) sorted by relevance
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _complex.h | 41 complex() : _M_re(0), _M_im(0) {} in complex() 43 : _M_re(__x), _M_im(0) {} in complex() 45 : _M_re(__x), _M_im(__y) {} in complex() 47 : _M_re(__z._M_re), _M_im(__z._M_im) {} in complex() 51 _M_im = __z._M_im; 58 : _M_re(__z._M_re), _M_im(__z._M_im) {} in complex() 63 _M_im = __z._M_im; 70 value_type imag() const { return _M_im; } in imag() 76 _M_im = 0; 89 _M_im *= __x; [all …]
|
/ndk/sources/cxx-stl/stlport/src/ |
D | complex.cpp | 41 { return ::hypot(__z._M_re, __z._M_im); } in abs() 44 { return ::hypot(__z._M_re, __z._M_im); } in abs() 49 { return ::hypot(__z._M_re, __z._M_im); } in abs() 56 { return ::atan2(__z._M_im, __z._M_re); } in arg() 60 { return ::atan2(__z._M_im, __z._M_re); } in arg() 65 { return ::atan2(__z._M_im, __z._M_re); } in arg() 169 _Tp im = z._M_im; in sqrtT() 174 result._M_re = result._M_im = 0.f; in sqrtT() 177 result._M_im = im/result._M_re/2.f; in sqrtT() 179 result._M_im = ::sqrt(0.5f * (mag - re)); in sqrtT() [all …]
|
D | complex_trig.cpp | 69 return complex<_Tp>(::sin(z._M_re) * ::cosh(z._M_im), in sinT() 70 ::cos(z._M_re) * ::sinh(z._M_im)); in sinT() 88 return complex<_Tp>(::cos(z._M_re) * ::cosh(z._M_im), in cosT() 89 -::sin(z._M_re) * ::sinh(z._M_im)); in cosT() 108 _Tp im2 = 2.f * z._M_im; in tanT() 133 return complex<_Tp>(::sinh(z._M_re) * ::cos(z._M_im), in sinhT() 134 ::cosh(z._M_re) * ::sin(z._M_im)); in sinhT() 152 return complex<_Tp>(::cosh(z._M_re) * ::cos(z._M_im), in coshT() 153 ::sinh(z._M_re) * ::sin(z._M_im)); in coshT() 172 _Tp im2 = 2.f * z._M_im; in tanhT()
|