complex< long double > Struct Template Reference

template <>
struct complex< long double >
Public Member Functions
complex ( value_type , value_type )
complex (const complex < long double > &)
complex (const complex < float > &)
complex (const complex < double > &)
_STLP_DECLSPEC void _STLP_CALL _div (const long double &, const long double &, const long double &, const long double &, long double &, long double &)
_STLP_DECLSPEC void _STLP_CALL _div (const long double &, const long double &, const long double &, long double &, long double &)
value_type imag ()
_Self & operator*= ( value_type )
_Self & operator*= (const _Self &)
_Self & operator+= ( value_type )
_Self & operator+= (const _Self &)
_Self & operator-= ( value_type )
_Self & operator-= (const _Self &)
_Self & operator/= ( value_type )
_Self & operator/= (const _Self &)
_Self & operator= ( value_type )
_Self & operator= (const _Self &)
value_type real ()
Public Member Type Definitions
typedef complex < long double > _Self
typedef long double value_type
Public Attributes
value_type _M_im
value_type _M_re

Constructor & Destructor Documentation

complex(value_type, value_type)

complex ( value_type __x = 0.0l,
value_type __y = 0.0l
) [inline]

Parameters

value_type __x = 0.0l
value_type __y = 0.0l

complex(const complex< long double > &)

complex ( const complex < long double > & __z ) [inline]

Parameters

const complex < long double > & __z

complex(const complex< float > &)

complex ( const complex < float > & __z ) [inline]

Parameters

const complex < float > & __z

complex(const complex< double > &)

complex ( const complex < double > & __z ) [inline]

Parameters

const complex < double > & __z

Member Functions Documentation

_div(const long double &, const long double &, const long double &, const long double &, long double &, long double &)

_STLP_DECLSPEC void _STLP_CALL _div ( const long double & __z1_r,
const long double & __z1_i,
const long double & __z2_r,
const long double & __z2_i,
long double & __res_r,
long double & __res_i
) [static]

Parameters

const long double & __z1_r
const long double & __z1_i
const long double & __z2_r
const long double & __z2_i
long double & __res_r
long double & __res_i

_div(const long double &, const long double &, const long double &, long double &, long double &)

_STLP_DECLSPEC void _STLP_CALL _div ( const long double & __z1_r,
const long double & __z2_r,
const long double & __z2_i,
long double & __res_r,
long double & __res_i
) [static]

Parameters

const long double & __z1_r
const long double & __z2_r
const long double & __z2_i
long double & __res_r
long double & __res_i

imag()

value_type imag ( ) const [inline]

operator*=(value_type)

_Self & operator*= ( value_type __x ) [inline]

Parameters

value_type __x

operator*=(const _Self &)

_Self & operator*= ( const _Self & __z ) [inline]

Parameters

const _Self & __z

operator+=(value_type)

_Self & operator+= ( value_type __x ) [inline]

Parameters

value_type __x

operator+=(const _Self &)

_Self & operator+= ( const _Self & __z ) [inline]

Parameters

const _Self & __z

operator-=(value_type)

_Self & operator-= ( value_type __x ) [inline]

Parameters

value_type __x

operator-=(const _Self &)

_Self & operator-= ( const _Self & __z ) [inline]

Parameters

const _Self & __z

operator/=(value_type)

_Self & operator/= ( value_type __x ) [inline]

Parameters

value_type __x

operator/=(const _Self &)

_Self & operator/= ( const _Self & __z ) [inline]

Parameters

const _Self & __z

operator=(value_type)

_Self & operator= ( value_type __x ) [inline]

Parameters

value_type __x

operator=(const _Self &)

_Self & operator= ( const _Self & __z ) [inline]

Parameters

const _Self & __z

real()

value_type real ( ) const [inline]

Member Type Definitions Documentation

Typedef _Self

typedef complex < long double > _Self

Typedef value_type

typedef long double value_type

Member Data Documentation

value_type _M_im

value_type _M_im

value_type _M_re

value_type _M_re