Lines Matching refs:_Tp
67 template <class _Tp>
68 static complex<_Tp> sinT(const complex<_Tp>& z) { in sinT()
69 return complex<_Tp>(::sin(z._M_re) * ::cosh(z._M_im), in sinT()
86 template <class _Tp>
87 static complex<_Tp> cosT(const complex<_Tp>& z) { in cosT()
88 return complex<_Tp>(::cos(z._M_re) * ::cosh(z._M_im), in cosT()
105 template <class _Tp>
106 static complex<_Tp> tanT(const complex<_Tp>& z, const _Tp& Tp_limit) { in tanT()
107 _Tp re2 = 2.f * z._M_re; in tanT()
108 _Tp im2 = 2.f * z._M_im; in tanT()
111 return complex<_Tp>(0.f, (im2 > 0 ? 1.f : -1.f)); in tanT()
113 _Tp den = ::cos(re2) + ::cosh(im2); in tanT()
114 return complex<_Tp>(::sin(re2) / den, ::sinh(im2) / den); in tanT()
131 template <class _Tp>
132 static complex<_Tp> sinhT(const complex<_Tp>& z) { in sinhT()
133 return complex<_Tp>(::sinh(z._M_re) * ::cos(z._M_im), in sinhT()
150 template <class _Tp>
151 static complex<_Tp> coshT(const complex<_Tp>& z) { in coshT()
152 return complex<_Tp>(::cosh(z._M_re) * ::cos(z._M_im), in coshT()
169 template <class _Tp>
170 static complex<_Tp> tanhT(const complex<_Tp>& z, const _Tp& Tp_limit) { in tanhT()
171 _Tp re2 = 2.f * z._M_re; in tanhT()
172 _Tp im2 = 2.f * z._M_im; in tanhT()
174 return complex<_Tp>((re2 > 0 ? 1.f : -1.f), 0.f); in tanhT()
176 _Tp den = ::cosh(re2) + ::cos(im2); in tanhT()
177 return complex<_Tp>(::sinh(re2) / den, ::sin(im2) / den); in tanhT()