Lines Matching refs:z
68 static complex<_Tp> sinT(const complex<_Tp>& z) { in sinT() argument
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()
73 _STLP_DECLSPEC complex<float> _STLP_CALL sin(const complex<float>& z) in sin() argument
74 { return sinT(z); } in sin()
76 _STLP_DECLSPEC complex<double> _STLP_CALL sin(const complex<double>& z) in sin() argument
77 { return sinT(z); } in sin()
80 _STLP_DECLSPEC complex<long double> _STLP_CALL sin(const complex<long double>& z) in sin() argument
81 { return sinT(z); } in sin()
87 static complex<_Tp> cosT(const complex<_Tp>& z) { in cosT() argument
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()
92 _STLP_DECLSPEC complex<float> _STLP_CALL cos(const complex<float>& z) in cos() argument
93 { return cosT(z); } in cos()
95 _STLP_DECLSPEC complex<double> _STLP_CALL cos(const complex<double>& z) in cos() argument
96 { return cosT(z); } in cos()
99 _STLP_DECLSPEC complex<long double> _STLP_CALL cos(const complex<long double>& z) in cos() argument
100 { return cosT(z); } in cos()
106 static complex<_Tp> tanT(const complex<_Tp>& z, const _Tp& Tp_limit) { in tanT() argument
107 _Tp re2 = 2.f * z._M_re; in tanT()
108 _Tp im2 = 2.f * z._M_im; in tanT()
118 _STLP_DECLSPEC complex<float> _STLP_CALL tan(const complex<float>& z) in tan() argument
119 { return tanT(z, float_limit); } in tan()
121 _STLP_DECLSPEC complex<double> _STLP_CALL tan(const complex<double>& z) in tan() argument
122 { return tanT(z, double_limit); } in tan()
125 _STLP_DECLSPEC complex<long double> _STLP_CALL tan(const complex<long double>& z) in tan() argument
126 { return tanT(z, ldouble_limit); } in tan()
132 static complex<_Tp> sinhT(const complex<_Tp>& z) { in sinhT() argument
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()
137 _STLP_DECLSPEC complex<float> _STLP_CALL sinh(const complex<float>& z) in sinh() argument
138 { return sinhT(z); } in sinh()
140 _STLP_DECLSPEC complex<double> _STLP_CALL sinh(const complex<double>& z) in sinh() argument
141 { return sinhT(z); } in sinh()
144 _STLP_DECLSPEC complex<long double> _STLP_CALL sinh(const complex<long double>& z) in sinh() argument
145 { return sinhT(z); } in sinh()
151 static complex<_Tp> coshT(const complex<_Tp>& z) { in coshT() argument
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()
156 _STLP_DECLSPEC complex<float> _STLP_CALL cosh(const complex<float>& z) in cosh() argument
157 { return coshT(z); } in cosh()
159 _STLP_DECLSPEC complex<double> _STLP_CALL cosh(const complex<double>& z) in cosh() argument
160 { return coshT(z); } in cosh()
163 _STLP_DECLSPEC complex<long double> _STLP_CALL cosh(const complex<long double>& z) in cosh() argument
164 { return coshT(z); } in cosh()
170 static complex<_Tp> tanhT(const complex<_Tp>& z, const _Tp& Tp_limit) { in tanhT() argument
171 _Tp re2 = 2.f * z._M_re; in tanhT()
172 _Tp im2 = 2.f * z._M_im; in tanhT()
181 _STLP_DECLSPEC complex<float> _STLP_CALL tanh(const complex<float>& z) in tanh() argument
182 { return tanhT(z, float_limit); } in tanh()
184 _STLP_DECLSPEC complex<double> _STLP_CALL tanh(const complex<double>& z) in tanh() argument
185 { return tanhT(z, double_limit); } in tanh()
188 _STLP_DECLSPEC complex<long double> _STLP_CALL tanh(const complex<long double>& z) in tanh() argument
189 { return tanhT(z, ldouble_limit); } in tanh()