#include <cpp_int.hpp>
Public Types | |
typedef Allocator::template rebind< limb_type >::other | allocator_type |
typedef allocator_type::pointer | limb_pointer |
typedef allocator_type::const_pointer | const_limb_pointer |
typedef mpl::int_< Checked > | checked_type |
Public Member Functions | |
BOOST_STATIC_ASSERT (!is_void< Allocator >::value) | |
BOOST_STATIC_CONSTANT (unsigned, limb_bits=sizeof(limb_type)*CHAR_BIT) | |
BOOST_STATIC_CONSTANT (limb_type, max_limb_value=~static_cast< limb_type >(0u)) | |
BOOST_STATIC_CONSTANT (limb_type, sign_bit_mask=1u<< (limb_bits-1)) | |
BOOST_STATIC_CONSTANT (unsigned, internal_limb_count=MinBits?MinBits/limb_bits+(MinBits%limb_bits?1:0):sizeof(limb_data)/sizeof(limb_type)) | |
BOOST_STATIC_CONSTANT (bool, variable=true) | |
BOOST_MP_FORCEINLINE BOOST_CONSTEXPR | cpp_int_base (limb_type i) BOOST_NOEXCEPT |
BOOST_MP_FORCEINLINE BOOST_CONSTEXPR | cpp_int_base (signed_limb_type i) BOOST_NOEXCEPT |
BOOST_MP_FORCEINLINE allocator_type & | allocator () BOOST_NOEXCEPT |
BOOST_MP_FORCEINLINE const allocator_type & | allocator () const BOOST_NOEXCEPT |
BOOST_MP_FORCEINLINE unsigned | size () const BOOST_NOEXCEPT |
BOOST_MP_FORCEINLINE limb_pointer | limbs () BOOST_NOEXCEPT |
BOOST_MP_FORCEINLINE const_limb_pointer | limbs () const BOOST_NOEXCEPT |
BOOST_MP_FORCEINLINE unsigned | capacity () const BOOST_NOEXCEPT |
BOOST_MP_FORCEINLINE bool | sign () const BOOST_NOEXCEPT |
void | sign (bool b) BOOST_NOEXCEPT |
void | resize (unsigned new_size, unsigned min_size) |
BOOST_MP_FORCEINLINE void | normalize () BOOST_NOEXCEPT |
BOOST_MP_FORCEINLINE BOOST_CONSTEXPR | cpp_int_base () BOOST_NOEXCEPT |
BOOST_MP_FORCEINLINE | cpp_int_base (const cpp_int_base &o) |
cpp_int_base (cpp_int_base &&o) | |
cpp_int_base & | operator= (cpp_int_base &&o) BOOST_NOEXCEPT |
BOOST_MP_FORCEINLINE | ~cpp_int_base () BOOST_NOEXCEPT |
void | assign (const cpp_int_base &o) |
BOOST_MP_FORCEINLINE void | negate () BOOST_NOEXCEPT |
BOOST_MP_FORCEINLINE bool | isneg () const BOOST_NOEXCEPT |
BOOST_MP_FORCEINLINE void | do_swap (cpp_int_base &o) BOOST_NOEXCEPT |
typedef Allocator::template rebind<limb_type>::other boost::multiprecision::backends::cpp_int_base< MinBits, MaxBits, signed_magnitude, Checked, Allocator, false >::allocator_type |
typedef mpl::int_<Checked> boost::multiprecision::backends::cpp_int_base< MinBits, MaxBits, signed_magnitude, Checked, Allocator, false >::checked_type |
typedef allocator_type::const_pointer boost::multiprecision::backends::cpp_int_base< MinBits, MaxBits, signed_magnitude, Checked, Allocator, false >::const_limb_pointer |
typedef allocator_type::pointer boost::multiprecision::backends::cpp_int_base< MinBits, MaxBits, signed_magnitude, Checked, Allocator, false >::limb_pointer |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References boost::multiprecision::backends::limbs().
|
inline |
References boost::multiprecision::backends::limbs().
|
inline |
|
inline |
|
inline |
boost::multiprecision::backends::cpp_int_base< MinBits, MaxBits, signed_magnitude, Checked, Allocator, false >::BOOST_STATIC_ASSERT | ( | !is_void< Allocator >::value | ) |
boost::multiprecision::backends::cpp_int_base< MinBits, MaxBits, signed_magnitude, Checked, Allocator, false >::BOOST_STATIC_CONSTANT | ( | unsigned | , |
limb_bits | = sizeof(limb_type)*CHAR_BIT |
||
) |
boost::multiprecision::backends::cpp_int_base< MinBits, MaxBits, signed_magnitude, Checked, Allocator, false >::BOOST_STATIC_CONSTANT | ( | limb_type | , |
max_limb_value | = ~static_cast< limb_type >(0u) |
||
) |
boost::multiprecision::backends::cpp_int_base< MinBits, MaxBits, signed_magnitude, Checked, Allocator, false >::BOOST_STATIC_CONSTANT | ( | limb_type | , |
sign_bit_mask | = 1u<< (limb_bits-1) |
||
) |
boost::multiprecision::backends::cpp_int_base< MinBits, MaxBits, signed_magnitude, Checked, Allocator, false >::BOOST_STATIC_CONSTANT | ( | unsigned | , |
internal_limb_count | = MinBits?MinBits/limb_bits+(MinBits%limb_bits?1:0):sizeof(limb_data)/sizeof(limb_type) |
||
) |
boost::multiprecision::backends::cpp_int_base< MinBits, MaxBits, signed_magnitude, Checked, Allocator, false >::BOOST_STATIC_CONSTANT | ( | bool | , |
variable | = true |
||
) |
|
inline |
|
inline |
References boost::swap.
|
inline |
|
inline |
|
inline |
|
inline |
References boost::multiprecision::backends::limbs().
|
inline |
|
inline |
References boost::multiprecision::backends::limbs().
|
inline |
|
inline |
|
inline |
|
inline |