#include <gmp.hpp>
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_float & | operator= (const gmp_float &o) |
gmp_float & | operator= (gmp_float &&o) BOOST_NOEXCEPT |
template<unsigned D> | |
gmp_float & | operator= (const gmp_float< D > &o) |
gmp_float & | operator= (const gmp_int &o) |
gmp_float & | operator= (const gmp_rational &o) |
gmp_float & | operator= (const mpf_t val) |
gmp_float & | operator= (const mpz_t val) |
gmp_float & | operator= (const mpq_t val) |
template<class V > | |
gmp_float & | operator= (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 |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
|
inline |
|
inline |
|
explicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Referenced by boost::multiprecision::backends::eval_abs(), boost::multiprecision::backends::eval_add(), boost::multiprecision::backends::eval_ceil(), boost::multiprecision::backends::eval_divide(), boost::multiprecision::backends::eval_fabs(), boost::multiprecision::backends::eval_floor(), boost::multiprecision::backends::eval_frexp(), boost::multiprecision::backends::eval_ldexp(), boost::multiprecision::backends::eval_multiply(), boost::multiprecision::backends::eval_sqrt(), boost::multiprecision::backends::eval_subtract(), boost::multiprecision::backends::eval_trunc(), boost::multiprecision::backends::gmp_float< digits10 >::gmp_float(), boost::multiprecision::backends::gmp_float< 0 >::gmp_float(), boost::multiprecision::backends::gmp_int::gmp_int(), boost::multiprecision::backends::mpfr_float_backend< digits10, AllocationType >::mpfr_float_backend(), boost::multiprecision::backends::mpfr_float_backend< 0, allocate_dynamic >::mpfr_float_backend(), boost::multiprecision::backends::gmp_float< 0 >::operator=(), boost::multiprecision::backends::mpfr_float_backend< digits10, AllocationType >::operator=(), boost::multiprecision::backends::mpfr_float_backend< 0, allocate_dynamic >::operator=(), boost::multiprecision::backends::gmp_int::operator=(), and boost::multiprecision::backends::gmp_float< digits10 >::operator=().
|
inlineinherited |
|
inlinestaticprotectedinherited |
Referenced by boost::multiprecision::backends::gmp_float< 0 >::default_precision(), boost::multiprecision::backends::gmp_float< 0 >::gmp_float(), boost::multiprecision::backends::detail::gmp_float_imp< 0 >::gmp_float_imp(), boost::multiprecision::backends::detail::gmp_float_imp< 0 >::operator=(), and boost::multiprecision::backends::gmp_float< 0 >::operator=().
|
inlineinherited |
|
inline |
References boost::detail::const.
|
inline |
gmp_float& boost::multiprecision::backends::gmp_float< digits10 >::operator= | ( | const gmp_float< D > & | o | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
Referenced by boost::multiprecision::backends::detail::gmp_float_imp< 0 >::compare(), boost::multiprecision::backends::detail::gmp_float_imp< 0 >::data(), boost::multiprecision::backends::gmp_float< digits10 >::gmp_float(), boost::multiprecision::backends::gmp_float< 0 >::gmp_float(), boost::multiprecision::backends::detail::gmp_float_imp< 0 >::gmp_float_imp(), boost::multiprecision::backends::detail::gmp_float_imp< 0 >::negate(), boost::multiprecision::backends::detail::gmp_float_imp< 0 >::operator=(), boost::multiprecision::backends::gmp_float< digits10 >::operator=(), boost::multiprecision::backends::gmp_float< 0 >::operator=(), boost::multiprecision::backends::gmp_float< 0 >::precision(), boost::multiprecision::backends::detail::gmp_float_imp< 0 >::str(), boost::multiprecision::backends::detail::gmp_float_imp< 0 >::swap(), and boost::multiprecision::backends::detail::gmp_float_imp< 0 >::~gmp_float_imp().