#include <iostream>
#include <iomanip>
#include <boost/cstdint.hpp>
#include <boost/multiprecision/number.hpp>
#include <boost/multiprecision/detail/integer_ops.hpp>
#include <boost/array.hpp>
#include <boost/type_traits/is_integral.hpp>
#include <boost/type_traits/is_floating_point.hpp>
#include <boost/multiprecision/cpp_int/cpp_int_config.hpp>
#include <boost/multiprecision/rational_adaptor.hpp>
#include <boost/detail/endian.hpp>
#include <boost/integer/static_min_max.hpp>
#include <boost/type_traits/common_type.hpp>
#include <boost/type_traits/make_signed.hpp>
#include <boost/multiprecision/cpp_int/checked.hpp>
#include <boost/multiprecision/cpp_int/comparison.hpp>
#include <boost/multiprecision/cpp_int/add.hpp>
#include <boost/multiprecision/cpp_int/multiply.hpp>
#include <boost/multiprecision/cpp_int/divide.hpp>
#include <boost/multiprecision/cpp_int/bitwise.hpp>
#include <boost/multiprecision/cpp_int/misc.hpp>
#include <boost/multiprecision/cpp_int/limits.hpp>
#include <boost/multiprecision/cpp_int/serialize.hpp>
Namespaces | |
boost | |
Duration formatting facet for input. | |
boost::multiprecision | |
boost::multiprecision::backends | |
boost::multiprecision::backends::detail | |
boost::multiprecision::default_ops | |
Typedefs | |
typedef number< cpp_int_backend<> > | boost::multiprecision::cpp_int |
typedef rational_adaptor < cpp_int_backend<> > | boost::multiprecision::cpp_rational_backend |
typedef number < cpp_rational_backend > | boost::multiprecision::cpp_rational |
typedef number < cpp_int_backend < 128, 128, unsigned_magnitude, unchecked, void > > | boost::multiprecision::uint128_t |
typedef number < cpp_int_backend < 256, 256, unsigned_magnitude, unchecked, void > > | boost::multiprecision::uint256_t |
typedef number < cpp_int_backend < 512, 512, unsigned_magnitude, unchecked, void > > | boost::multiprecision::uint512_t |
typedef number < cpp_int_backend < 1024, 1024, unsigned_magnitude, unchecked, void > > | boost::multiprecision::uint1024_t |
typedef number < cpp_int_backend < 128, 128, signed_magnitude, unchecked, void > > | boost::multiprecision::int128_t |
typedef number < cpp_int_backend < 256, 256, signed_magnitude, unchecked, void > > | boost::multiprecision::int256_t |
typedef number < cpp_int_backend < 512, 512, signed_magnitude, unchecked, void > > | boost::multiprecision::int512_t |
typedef number < cpp_int_backend < 1024, 1024, signed_magnitude, unchecked, void > > | boost::multiprecision::int1024_t |
typedef number < cpp_int_backend < 0, 0, signed_magnitude, checked > > | boost::multiprecision::checked_cpp_int |
typedef rational_adaptor < cpp_int_backend < 0, 0, signed_magnitude, checked > > | boost::multiprecision::checked_cpp_rational_backend |
typedef number < checked_cpp_rational_backend > | boost::multiprecision::checked_cpp_rational |
typedef number < cpp_int_backend < 128, 128, unsigned_magnitude, checked, void > > | boost::multiprecision::checked_uint128_t |
typedef number < cpp_int_backend < 256, 256, unsigned_magnitude, checked, void > > | boost::multiprecision::checked_uint256_t |
typedef number < cpp_int_backend < 512, 512, unsigned_magnitude, checked, void > > | boost::multiprecision::checked_uint512_t |
typedef number < cpp_int_backend < 1024, 1024, unsigned_magnitude, checked, void > > | boost::multiprecision::checked_uint1024_t |
typedef number < cpp_int_backend < 128, 128, signed_magnitude, checked, void > > | boost::multiprecision::checked_int128_t |
typedef number < cpp_int_backend < 256, 256, signed_magnitude, checked, void > > | boost::multiprecision::checked_int256_t |
typedef number < cpp_int_backend < 512, 512, signed_magnitude, checked, void > > | boost::multiprecision::checked_int512_t |
typedef number < cpp_int_backend < 1024, 1024, signed_magnitude, checked, void > > | boost::multiprecision::checked_int1024_t |
Functions | |
void | boost::multiprecision::backends::detail::verify_new_size (unsigned new_size, unsigned min_size, const mpl::int_< checked > &) |
void | boost::multiprecision::backends::detail::verify_new_size (unsigned, unsigned, const mpl::int_< unchecked > &) |
template<class U > | |
void | boost::multiprecision::backends::detail::verify_limb_mask (bool b, U limb, U mask, const mpl::int_< checked > &) |
template<class U > | |
void | boost::multiprecision::backends::detail::verify_limb_mask (bool, U, U, const mpl::int_< unchecked > &) |
template<unsigned N> | |
*this | boost::multiprecision::backends::limbs () |
this | boost::multiprecision::backends::sign (other.sign()) |
result | boost::multiprecision::backends::normalize () |
template<unsigned MinBits2, unsigned MaxBits2, cpp_integer_type SignType2, cpp_int_check_type Checked2, class Allocator2 > | |
void | boost::multiprecision::backends::do_assign (const cpp_int_backend< MinBits2, MaxBits2, SignType2, Checked2, Allocator2 > &other, mpl::true_ const &, mpl::false_ const &) |
template<unsigned MinBits2, unsigned MaxBits2, cpp_integer_type SignType2, cpp_int_check_type Checked2, class Allocator2 > | |
void | boost::multiprecision::backends::do_assign (const cpp_int_backend< MinBits2, MaxBits2, SignType2, Checked2, Allocator2 > &other, mpl::false_ const &, mpl::true_ const &) |
template<unsigned MinBits2, unsigned MaxBits2, cpp_integer_type SignType2, cpp_int_check_type Checked2, class Allocator2 > | |
void | boost::multiprecision::backends::do_assign (const cpp_int_backend< MinBits2, MaxBits2, SignType2, Checked2, Allocator2 > &other, mpl::false_ const &, mpl::false_ const &) |
template<unsigned MinBits2, unsigned MaxBits2, cpp_integer_type SignType2, cpp_int_check_type Checked2, class Allocator2 > | |
boost::multiprecision::backends::cpp_int_backend (const cpp_int_backend< MinBits2, MaxBits2, SignType2, Checked2, Allocator2 > &other, typename boost::enable_if_c< is_implicit_cpp_int_conversion< cpp_int_backend< MinBits2, MaxBits2, SignType2, Checked2, Allocator2 >, self_type >::value >::type *=0) | |
template<unsigned MinBits2, unsigned MaxBits2, cpp_integer_type SignType2, cpp_int_check_type Checked2, class Allocator2 > | |
boost::multiprecision::backends::cpp_int_backend (const cpp_int_backend< MinBits2, MaxBits2, SignType2, Checked2, Allocator2 > &other, typename boost::disable_if_c< is_implicit_cpp_int_conversion< cpp_int_backend< MinBits2, MaxBits2, SignType2, Checked2, Allocator2 >, self_type >::value >::type *=0) | |
template<unsigned MinBits2, unsigned MaxBits2, cpp_integer_type SignType2, cpp_int_check_type Checked2, class Allocator2 > | |
cpp_int_backend & | boost::multiprecision::backends::operator= (const cpp_int_backend< MinBits2, MaxBits2, SignType2, Checked2, Allocator2 > &other) |
BOOST_MP_FORCEINLINE cpp_int_backend & | boost::multiprecision::backends::operator= (const cpp_int_backend &o) BOOST_NOEXCEPT_IF((Checked |