Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::multiprecision::backends::gmp_float< digits10 > Struct Template Reference

#include <gmp.hpp>

Inheritance diagram for boost::multiprecision::backends::gmp_float< digits10 >:
Collaboration diagram for boost::multiprecision::backends::gmp_float< digits10 >:

Public Types

typedef mpl::list< long, long
long > 
signed_types
 
typedef mpl::list< unsigned
long, unsigned long long > 
unsigned_types
 
typedef mpl::list< double,
long double > 
float_types
 
typedef long exponent_type
 

Public Member Functions

 gmp_float ()
 
 gmp_float (const gmp_float &o)
 
template<unsigned D>
 gmp_float (const gmp_float< D > &o, typename enable_if_c< D<=digits10 >::type *=0)
 
template<unsigned D>
 gmp_float (const gmp_float< D > &o, typename disable_if_c< D<=digits10 >::type *=0)
 
 gmp_float (const gmp_int &o)
 
 gmp_float (const gmp_rational &o)
 
 gmp_float (const mpf_t val)
 
 gmp_float (const mpz_t val)
 
 gmp_float (const mpq_t val)
 
 gmp_float (gmp_float &&o) BOOST_NOEXCEPT
 
gmp_floatoperator= (const gmp_float &o)
 
gmp_floatoperator= (gmp_float &&o) BOOST_NOEXCEPT
 
template<unsigned D>
gmp_floatoperator= (const gmp_float< D > &o)
 
gmp_floatoperator= (const gmp_int &o)
 
gmp_floatoperator= (const gmp_rational &o)
 
gmp_floatoperator= (const mpf_t val)
 
gmp_floatoperator= (const mpz_t val)
 
gmp_floatoperator= (const mpq_t val)
 
template<class V >
gmp_floatoperator= (const V &v)
 
void swap (gmp_float_imp &o) BOOST_NOEXCEPT
 
std::string str (std::streamsize digits, std::ios_base::fmtflags f) const
 
void negate () BOOST_NOEXCEPT
 
int compare (const gmp_float< digits10 > &o) const BOOST_NOEXCEPT
 
int compare (long i) const BOOST_NOEXCEPT
 
int compare (unsigned long i) const BOOST_NOEXCEPT
 
template<class V >
enable_if< is_arithmetic< V >
, int >::type 
compare (V v) const
 
mpf_t & data () BOOST_NOEXCEPT
 
const mpf_t & data () const BOOST_NOEXCEPT
 

Protected Member Functions

template<unsigned D>
gmp_float< Digits10 > & operator= (const gmp_float< D > &o)
 

Static Protected Member Functions

static unsigned & get_default_precision () BOOST_NOEXCEPT
 

Protected Attributes

mpf_t m_data
 

Member Typedef Documentation

template<unsigned digits10>
typedef long boost::multiprecision::backends::detail::gmp_float_imp< digits10 >::exponent_type
inherited
template<unsigned digits10>
typedef mpl::list<double, long double> boost::multiprecision::backends::detail::gmp_float_imp< digits10 >::float_types
inherited
template<unsigned digits10>
typedef mpl::list<long, long long> boost::multiprecision::backends::detail::gmp_float_imp< digits10 >::signed_types
inherited
template<unsigned digits10>
typedef mpl::list<unsigned long, unsigned long long> boost::multiprecision::backends::detail::gmp_float_imp< digits10 >::unsigned_types
inherited

Constructor & Destructor Documentation

template<unsigned digits10>
boost::multiprecision::backends::gmp_float< digits10 >::gmp_float ( const gmp_float< digits10 > &  o)
inline
template<unsigned digits10>
template<unsigned D>
boost::multiprecision::backends::gmp_float< digits10 >::gmp_float ( const gmp_float< D > &  o)
explicit
template<unsigned digits10>
boost::multiprecision::backends::gmp_float< digits10 >::gmp_float ( const mpf_t  val)
inline
template<unsigned digits10>
boost::multiprecision::backends::gmp_float< digits10 >::gmp_float ( const mpz_t  val)
inline
template<unsigned digits10>
boost::multiprecision::backends::gmp_float< digits10 >::gmp_float ( const mpq_t  val)
inline
template<unsigned digits10>
boost::multiprecision::backends::gmp_float< digits10 >::gmp_float ( gmp_float< digits10 > &&  o)
inline

Member Function Documentation

template<unsigned digits10>
int boost::multiprecision::backends::detail::gmp_float_imp< digits10 >::compare ( const gmp_float< digits10 > &  o) const
inlineinherited
template<unsigned digits10>
int boost::multiprecision::backends::detail::gmp_float_imp< digits10 >::compare ( long  i) const
inlineinherited
template<unsigned digits10>
int boost::multiprecision::backends::detail::gmp_float_imp< digits10 >::compare ( unsigned long  i) const
inlineinherited
template<unsigned digits10>
template<class V >
enable_if<is_arithmetic<V>, int>::type boost::multiprecision::backends::detail::gmp_float_imp< digits10 >::compare ( v) const
inlineinherited
template<unsigned digits10>
const mpf_t& boost::multiprecision::backends::detail::gmp_float_imp< digits10 >::data ( ) const
inlineinherited
template<unsigned digits10>
gmp_float& boost::multiprecision::backends::gmp_float< digits10 >::operator= ( const gmp_float< digits10 > &  o)
inline

References boost::detail::const.

template<unsigned digits10>
gmp_float& boost::multiprecision::backends::gmp_float< digits10 >::operator= ( gmp_float< digits10 > &&  o)
inline
template<unsigned digits10>
template<unsigned D>
gmp_float& boost::multiprecision::backends::gmp_float< digits10 >::operator= ( const gmp_float< D > &  o)
template<unsigned digits10>
gmp_float& boost::multiprecision::backends::gmp_float< digits10 >::operator= ( const mpf_t  val)
inline
template<unsigned digits10>
gmp_float& boost::multiprecision::backends::gmp_float< digits10 >::operator= ( const mpz_t  val)
inline
template<unsigned digits10>
gmp_float& boost::multiprecision::backends::gmp_float< digits10 >::operator= ( const mpq_t  val)
inline
template<unsigned digits10>
template<class V >
gmp_float& boost::multiprecision::backends::gmp_float< digits10 >::operator= ( const V &  v)
inline
template<unsigned digits10>
std::string boost::multiprecision::backends::detail::gmp_float_imp< digits10 >::str ( std::streamsize  digits,
std::ios_base::fmtflags  f 
) const
inlineinherited
template<unsigned digits10>
void boost::multiprecision::backends::detail::gmp_float_imp< digits10 >::swap ( gmp_float_imp< digits10 > &  o)
inlineinherited

Member Data Documentation


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