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::tommath_int Struct Reference

#include <tommath.hpp>

Public Types

typedef mpl::list
< boost::int32_t, long long > 
signed_types
 
typedef mpl::list
< boost::uint32_t, unsigned
long long > 
unsigned_types
 
typedef mpl::list< long double > float_types
 

Public Member Functions

 tommath_int ()
 
 tommath_int (const tommath_int &o)
 
 tommath_int (tommath_int &&o) BOOST_NOEXCEPT
 
tommath_intoperator= (tommath_int &&o)
 
tommath_intoperator= (const tommath_int &o)
 
tommath_intoperator= (unsigned long long i)
 
tommath_intoperator= (long long i)
 
tommath_intoperator= (boost::uint32_t i)
 
tommath_intoperator= (boost::int32_t i)
 
tommath_intoperator= (long double a)
 
tommath_intoperator= (const char *s)
 
std::string str (std::streamsize, std::ios_base::fmtflags f) const
 
 ~tommath_int ()
 
void negate ()
 
int compare (const tommath_int &o) const
 
template<class V >
int compare (V v) const
 
::mp_int & data ()
 
const ::mp_int & data () const
 
void swap (tommath_int &o) BOOST_NOEXCEPT
 

Protected Attributes

::mp_int m_data
 

Member Typedef Documentation

typedef mpl::list<boost::int32_t, long long> boost::multiprecision::backends::tommath_int::signed_types
typedef mpl::list<boost::uint32_t, unsigned long long> boost::multiprecision::backends::tommath_int::unsigned_types

Constructor & Destructor Documentation

boost::multiprecision::backends::tommath_int::tommath_int ( )
inline
boost::multiprecision::backends::tommath_int::tommath_int ( const tommath_int o)
inline
boost::multiprecision::backends::tommath_int::tommath_int ( tommath_int &&  o)
inline

References m_data.

boost::multiprecision::backends::tommath_int::~tommath_int ( )
inline

References m_data.

Member Function Documentation

int boost::multiprecision::backends::tommath_int::compare ( const tommath_int o) const
inline
template<class V >
int boost::multiprecision::backends::tommath_int::compare ( v) const
inline
const ::mp_int& boost::multiprecision::backends::tommath_int::data ( ) const
inline

References BOOST_ASSERT, and m_data.

void boost::multiprecision::backends::tommath_int::negate ( )
inline
tommath_int& boost::multiprecision::backends::tommath_int::operator= ( tommath_int &&  o)
inline

References m_data.

tommath_int& boost::multiprecision::backends::tommath_int::operator= ( const tommath_int o)
inline
tommath_int& boost::multiprecision::backends::tommath_int::operator= ( long long  i)
inline
tommath_int& boost::multiprecision::backends::tommath_int::operator= ( boost::uint32_t  i)
inline
tommath_int& boost::multiprecision::backends::tommath_int::operator= ( boost::int32_t  i)
inline
void boost::multiprecision::backends::tommath_int::swap ( tommath_int o)
inline

References m_data.

Member Data Documentation

::mp_int boost::multiprecision::backends::tommath_int::m_data
protected

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