libstdc++
std::complex< long double > Class Reference

Public Types

typedef __complex__ long double _ComplexT
 
typedef long double value_type
 

Public Member Functions

constexpr complex (_ComplexT __z)
 
constexpr complex (const complex< double > &__z)
 
constexpr complex (const complex< float > &__z)
 
constexpr complex (long double __r=0.0L, long double __i=0.0L)
 
 __attribute ((__abi_tag__("cxx11"))) const expr long double imag() const
 
 __attribute ((__abi_tag__("cxx11"))) const expr long double real() const
 
constexpr _ComplexT __rep () const
 
constexpr void imag (long double __val)
 
template<typename _Tp >
constexpr complexoperator*= (const complex< _Tp > &__z)
 
constexpr complexoperator*= (long double __r)
 
template<typename _Tp >
constexpr complexoperator+= (const complex< _Tp > &__z)
 
constexpr complexoperator+= (long double __r)
 
template<typename _Tp >
constexpr complexoperator-= (const complex< _Tp > &__z)
 
constexpr complexoperator-= (long double __r)
 
template<typename _Tp >
constexpr complexoperator/= (const complex< _Tp > &__z)
 
constexpr complexoperator/= (long double __r)
 
constexpr complexoperator= (const complex &)=default
 
template<typename _Tp >
constexpr complexoperator= (const complex< _Tp > &__z)
 
constexpr complexoperator= (long double __r)
 
constexpr void real (long double __val)
 

Detailed Description

26.2.3 complex specializations complex<long double> specialization

Definition at line 1375 of file complex.

Member Typedef Documentation

◆ _ComplexT

typedef __complex__ long double std::complex< long double >::_ComplexT

Definition at line 1379 of file complex.

◆ value_type

typedef long double std::complex< long double >::value_type

Definition at line 1378 of file complex.

Constructor & Destructor Documentation

◆ complex() [1/4]

constexpr std::complex< long double >::complex ( _ComplexT  __z)
inlineconstexpr

Definition at line 1381 of file complex.

◆ complex() [2/4]

constexpr std::complex< long double >::complex ( long double  __r = 0.0L,
long double  __i = 0.0L 
)
inlineconstexpr

Definition at line 1383 of file complex.

◆ complex() [3/4]

constexpr std::complex< long double >::complex ( const complex< float > &  __z)
inlineconstexpr

Definition at line 1394 of file complex.

◆ complex() [4/4]

constexpr std::complex< long double >::complex ( const complex< double > &  __z)
inlineconstexpr

Definition at line 1397 of file complex.

Member Function Documentation

◆ __attribute() [1/2]

std::complex< long double >::__attribute ( (__abi_tag__("cxx11"))  ) const
inline

Definition at line 1407 of file complex.

◆ __attribute() [2/2]

std::complex< long double >::__attribute ( (__abi_tag__("cxx11"))  ) const
inline

Definition at line 1403 of file complex.

◆ __rep()

constexpr _ComplexT std::complex< long double >::__rep ( ) const
inlineconstexpr

Definition at line 1514 of file complex.

◆ imag()

constexpr void std::complex< long double >::imag ( long double  __val)
inlineconstexpr

Definition at line 1430 of file complex.

◆ operator*=() [1/2]

template<typename _Tp >
constexpr complex & std::complex< long double >::operator*= ( const complex< _Tp > &  __z)
inlineconstexpr

Definition at line 1498 of file complex.

◆ operator*=() [2/2]

constexpr complex & std::complex< long double >::operator*= ( long double  __r)
inlineconstexpr

Definition at line 1454 of file complex.

◆ operator+=() [1/2]

template<typename _Tp >
constexpr complex & std::complex< long double >::operator+= ( const complex< _Tp > &  __z)
inlineconstexpr

Definition at line 1482 of file complex.

◆ operator+=() [2/2]

constexpr complex & std::complex< long double >::operator+= ( long double  __r)
inlineconstexpr

Definition at line 1440 of file complex.

◆ operator-=() [1/2]

template<typename _Tp >
constexpr complex & std::complex< long double >::operator-= ( const complex< _Tp > &  __z)
inlineconstexpr

Definition at line 1490 of file complex.

◆ operator-=() [2/2]

constexpr complex & std::complex< long double >::operator-= ( long double  __r)
inlineconstexpr

Definition at line 1447 of file complex.

◆ operator/=() [1/2]

template<typename _Tp >
constexpr complex & std::complex< long double >::operator/= ( const complex< _Tp > &  __z)
inlineconstexpr

Definition at line 1507 of file complex.

◆ operator/=() [2/2]

constexpr complex & std::complex< long double >::operator/= ( long double  __r)
inlineconstexpr

Definition at line 1461 of file complex.

◆ operator=() [1/2]

template<typename _Tp >
constexpr complex & std::complex< long double >::operator= ( const complex< _Tp > &  __z)
inlineconstexpr

Definition at line 1474 of file complex.

◆ operator=() [2/2]

constexpr complex & std::complex< long double >::operator= ( long double  __r)
inlineconstexpr

Definition at line 1433 of file complex.

◆ real()

constexpr void std::complex< long double >::real ( long double  __val)
inlineconstexpr

Definition at line 1427 of file complex.


The documentation for this class was generated from the following file: