Searched refs:__rho (Results 1 – 3 of 3) sorted by relevance
/ndk/sources/cxx-stl/stlport/src/ |
D | complex.cpp | 70 _STLP_DECLSPEC complex<float> _STLP_CALL polar(const float& __rho, const float& __phi) in polar() argument 71 { return complex<float>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } in polar() 73 _STLP_DECLSPEC complex<double> _STLP_CALL polar(const double& __rho, const double& __phi) in polar() argument 74 { return complex<double>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } in polar() 78 _STLP_DECLSPEC complex<long double> _STLP_CALL polar(const long double& __rho, const long double& _… in polar() argument 79 { return complex<long double>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } in polar()
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _complex.h | 749 complex<_Tp> _STLP_CALL polar(const _Tp& __rho) 750 { return complex<_Tp>(__rho, 0); } 753 complex<_Tp> _STLP_CALL polar(const _Tp& __rho, const _Tp& __phi); 764 _STLP_DECLSPEC complex<float> _STLP_CALL polar(const float& __rho, const float& __phi); 766 _STLP_DECLSPEC complex<double> _STLP_CALL polar(const double& __rho, const double& __phi); 777 complex<_Tp> _STLP_CALL polar(const _Tp& __rho, const _Tp& __phi) { 778 complex<double> __tmp = polar(double(__rho), double(__phi));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | complex | 1077 polar(const _Tp& __rho, const _Tp& __theta = _Tp(0)) 1079 if (isnan(__rho) || signbit(__rho)) 1083 if (isinf(__rho)) 1084 return complex<_Tp>(__rho, __theta); 1089 if (isinf(__rho)) 1090 return complex<_Tp>(__rho, _Tp(NAN)); 1093 _Tp __x = __rho * cos(__theta); 1096 _Tp __y = __rho * sin(__theta);
|