#include "stlport_prefix.h"
#include <complex>
#include <cfloat>
#include <cmath>
Go to the source code of this file.
◆ cos() [1/3]
Definition at line 95 of file complex_trig.cpp.
static complex< _Tp > cosT(const complex< _Tp > &z)
◆ cos() [2/3]
◆ cos() [3/3]
◆ cosh() [1/3]
Definition at line 159 of file complex_trig.cpp.
static complex< _Tp > coshT(const complex< _Tp > &z)
◆ cosh() [2/3]
◆ cosh() [3/3]
◆ coshT()
Definition at line 151 of file complex_trig.cpp.
151 {
154}
_STLP_DECLSPEC complex< float > _STLP_CALL sin(const complex< float > &z)
_STLP_DECLSPEC complex< float > _STLP_CALL cos(const complex< float > &z)
_STLP_DECLSPEC complex< float > _STLP_CALL cosh(const complex< float > &z)
_STLP_DECLSPEC complex< float > _STLP_CALL sinh(const complex< float > &z)
Referenced by cosh().
◆ cosT()
◆ sin() [1/3]
Definition at line 76 of file complex_trig.cpp.
static complex< _Tp > sinT(const complex< _Tp > &z)
◆ sin() [2/3]
◆ sin() [3/3]
◆ sinh() [1/3]
Definition at line 140 of file complex_trig.cpp.
static complex< _Tp > sinhT(const complex< _Tp > &z)
◆ sinh() [2/3]
◆ sinh() [3/3]
◆ sinhT()
◆ sinT()
◆ tan() [1/3]
Definition at line 121 of file complex_trig.cpp.
static complex< _Tp > tanT(const complex< _Tp > &z, const _Tp &Tp_limit)
static const double double_limit
◆ tan() [2/3]
Definition at line 118 of file complex_trig.cpp.
static _STLP_BEGIN_NAMESPACE const float float_limit
◆ tan() [3/3]
◆ tanh() [1/3]
Definition at line 184 of file complex_trig.cpp.
static complex< _Tp > tanhT(const complex< _Tp > &z, const _Tp &Tp_limit)
◆ tanh() [2/3]
◆ tanh() [3/3]
◆ tanhT()
Definition at line 170 of file complex_trig.cpp.
170 {
171 _Tp re2 = 2.f *
z._M_re;
172 _Tp im2 = 2.f *
z._M_im;
173 if (
::abs(re2) > Tp_limit)
175 else {
178 }
179}
Referenced by tanh().
◆ tanT()
Definition at line 106 of file complex_trig.cpp.
106 {
107 _Tp re2 = 2.f *
z._M_re;
108 _Tp im2 = 2.f *
z._M_im;
109
110 if (
::abs(im2) > Tp_limit)
112 else {
115 }
116}
Referenced by tan().
◆ double_limit
◆ float_limit
◆ ldouble_limit