Namespaces | |
backends | |
concepts | |
cpp_bf_io_detail | |
default_ops | |
detail | |
literals | |
Enumerations | |
enum | cpp_integer_type { signed_magnitude = 1, unsigned_magnitude = 0, signed_packed = 3, unsigned_packed = 2 } |
enum | cpp_int_check_type { checked = 1, unchecked = 0 } |
enum | mpfr_allocation_type { allocate_stack, allocate_dynamic } |
Functions | |
limb_type | block_multiplier (unsigned count) |
template<class T > | |
void | minmax (const T &a, const T &b, T &aa, T &bb) |
template<unsigned MinBits, cpp_int_check_type Checked> | |
constexpr number < cpp_int_backend< MinBits, MinBits, signed_magnitude, Checked, void >, et_off > | operator- (const number< cpp_int_backend< MinBits, MinBits, signed_magnitude, Checked, void >, et_off > &a) |
template<unsigned MinBits, cpp_int_check_type Checked> | |
constexpr number < cpp_int_backend< MinBits, MinBits, signed_magnitude, Checked, void >, et_off > | operator- (number< cpp_int_backend< MinBits, MinBits, signed_magnitude, Checked, void >, et_off > &&a) |
template<expression_template_option ET> | |
number< gmp_int, ET > | numerator (const number< gmp_rational, ET > &val) |
template<expression_template_option ET> | |
number< gmp_int, ET > | denominator (const number< gmp_rational, ET > &val) |
template<class Integer , class I2 > | |
enable_if_c< is_integral < Integer >::value &&is_integral< I2 >::value, Integer & >::type | multiply (Integer &result, const I2 &a, const I2 &b) |
template<class Integer , class I2 > | |
enable_if_c< is_integral < Integer >::value &&is_integral< I2 >::value, Integer & >::type | add (Integer &result, const I2 &a, const I2 &b) |
template<class Integer , class I2 > | |
enable_if_c< is_integral < Integer >::value &&is_integral< I2 >::value, Integer & >::type | subtract (Integer &result, const I2 &a, const I2 &b) |
template<class Integer > | |
enable_if_c< is_integral < Integer >::value >::type | divide_qr (const Integer &x, const Integer &y, Integer &q, Integer &r) |
template<class I1 , class I2 > | |
enable_if_c< is_integral< I1 > ::value &&is_integral< I2 > ::value, I2 >::type | integer_modulus (const I1 &x, I2 val) |
template<class I1 , class I2 , class I3 > | |
enable_if_c< is_integral< I1 > ::value &&is_unsigned< I2 > ::value &&is_integral< I3 > ::value, I1 >::type | powm (const I1 &a, I2 b, I3 c) |
template<class I1 , class I2 , class I3 > | |
enable_if_c< is_integral< I1 > ::value &&is_signed< I2 > ::value &&is_integral< I3 > ::value, I1 >::type | powm (const I1 &a, I2 b, I3 c) |
template<class Integer > | |
enable_if_c< is_integral < Integer >::value, unsigned > ::type | lsb (const Integer &val) |
template<class Integer > | |
enable_if_c< is_integral < Integer >::value, unsigned > ::type | msb (Integer val) |
template<class Integer > | |
enable_if_c< is_integral < Integer >::value, bool > ::type | bit_test (const Integer &val, unsigned index) |
template<class Integer > | |
enable_if_c< is_integral < Integer >::value, Integer & > ::type | bit_set (Integer &val, unsigned index) |
template<class Integer > | |
enable_if_c< is_integral < Integer >::value, Integer & > ::type | bit_unset (Integer &val, unsigned index) |
template<class Integer > | |
enable_if_c< is_integral < Integer >::value, Integer & > ::type | bit_flip (Integer &val, unsigned index) |
template<class Integer > | |
enable_if_c< is_integral < Integer >::value, Integer > ::type | sqrt (const Integer &x, Integer &r) |
template<class Integer > | |
enable_if_c< is_integral < Integer >::value, Integer > ::type | sqrt (const Integer &x) |
template<class Backend > | |
void | log_postfix_event (const Backend &, const char *) |
template<class Backend , class T > | |
void | log_postfix_event (const Backend &, const T &, const char *) |
template<class Backend > | |
void | log_prefix_event (const Backend &, const char *) |
template<class Backend , class T > | |
void | log_prefix_event (const Backend &, const T &, const char *) |
template<class Backend , class T , class U > | |
void | log_prefix_event (const Backend &, const T &, const U &, const char *) |
template<class Backend , class T , class U , class V > | |
void | log_prefix_event (const Backend &, const T &, const U &, const V &, const char *) |
template<class I , class Engine > | |
enable_if_c< number_category < I >::value==number_kind_integer, bool >::type | miller_rabin_test (const I &n, unsigned trials, Engine &gen) |
template<class I > | |
enable_if_c< number_category < I >::value==number_kind_integer, bool >::type | miller_rabin_test (const I &x, unsigned trials) |
template<class tag , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Engine > | |
bool | miller_rabin_test (const detail::expression< tag, Arg1, Arg2, Arg3, Arg4 > &n, unsigned trials, Engine &gen) |
template<class tag , class Arg1 , class Arg2 , class Arg3 , class Arg4 > | |
bool | miller_rabin_test (const detail::expression< tag, Arg1, Arg2, Arg3, Arg4 > &n, unsigned trials) |
template<unsigned Digits10, expression_template_option ExpressionTemplates> | |
number< mpfr_float_backend < Digits10 > , ExpressionTemplates > | lower (const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &val) |
template<unsigned Digits10, expression_template_option ExpressionTemplates> | |
number< mpfr_float_backend < Digits10 > , ExpressionTemplates > | upper (const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &val) |
template<unsigned Digits10, expression_template_option ExpressionTemplates> | |
number< mpfr_float_backend < Digits10 > , ExpressionTemplates > | median (const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &val) |
template<unsigned Digits10, expression_template_option ExpressionTemplates> | |
number< mpfr_float_backend < Digits10 > , ExpressionTemplates > | width (const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &val) |
template<unsigned Digits10, expression_template_option ExpressionTemplates> | |
number< mpfi_float_backend < Digits10 > , ExpressionTemplates > | intersect (const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &a, const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &b) |
template<unsigned Digits10, expression_template_option ExpressionTemplates> | |
number< mpfi_float_backend < Digits10 > , ExpressionTemplates > | hull (const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &a, const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &b) |
template<unsigned Digits10, expression_template_option ExpressionTemplates> | |
bool | overlap (const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &a, const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &b) |
template<unsigned Digits10, expression_template_option ExpressionTemplates1, expression_template_option ExpressionTemplates2> | |
bool | in (const number< mpfr_float_backend< Digits10 >, ExpressionTemplates1 > &a, const number< mpfi_float_backend< Digits10 >, ExpressionTemplates2 > &b) |
template<unsigned Digits10, expression_template_option ExpressionTemplates> | |
bool | zero_in (const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &a) |
template<unsigned Digits10, expression_template_option ExpressionTemplates> | |
bool | subset (const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &a, const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &b) |
template<unsigned Digits10, expression_template_option ExpressionTemplates> | |
bool | proper_subset (const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &a, const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &b) |
template<unsigned Digits10, expression_template_option ExpressionTemplates> | |
bool | empty (const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &a) |
template<unsigned Digits10, expression_template_option ExpressionTemplates> | |
bool | singleton (const number< mpfi_float_backend< Digits10 >, ExpressionTemplates > &a) |
template<class Backend , expression_template_option ExpressionTemplates> | |
std::ostream & | operator<< (std::ostream &os, const number< Backend, ExpressionTemplates > &r) |
template<class Backend , expression_template_option ExpressionTemplates> | |
std::istream & | operator>> (std::istream &is, number< Backend, ExpressionTemplates > &r) |
template<class Backend , expression_template_option ExpressionTemplates> | |
BOOST_MP_FORCEINLINE void | swap (number< Backend, ExpressionTemplates > &a, number< Backend, ExpressionTemplates > &b) |
template<class IntBackend , expression_template_option ET> | |
number< IntBackend, ET > | numerator (const number< rational_adaptor< IntBackend >, ET > &val) |
template<class IntBackend , expression_template_option ET> | |
number< IntBackend, ET > | denominator (const number< rational_adaptor< IntBackend >, ET > &val) |
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<cpp_int_backend<1024, 1024, signed_magnitude, checked, void> > boost::multiprecision::checked_int1024_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, unsigned_magnitude, checked, void> > boost::multiprecision::checked_uint1024_t |
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<backends::cpp_bin_float<53, backends::digit_base_2, void, boost::int16_t, -1022, 1023>, et_off> boost::multiprecision::cpp_bin_float_double |
typedef number<backends::cpp_bin_float<64, backends::digit_base_2, void, boost::int16_t, -16382, 16383>, et_off> boost::multiprecision::cpp_bin_float_double_extended |
typedef number<backends::cpp_bin_float<113, backends::digit_base_2, void, boost::int16_t, -16382, 16383>, et_off> boost::multiprecision::cpp_bin_float_quad |
typedef number<backends::cpp_bin_float<24, backends::digit_base_2, void, boost::int16_t, -126, 127>, et_off> boost::multiprecision::cpp_bin_float_single |
typedef number<cpp_dec_float<100> > boost::multiprecision::cpp_dec_float_100 |
typedef number<cpp_dec_float<50> > boost::multiprecision::cpp_dec_float_50 |
typedef number<cpp_int_backend<> > boost::multiprecision::cpp_int |
typedef number<float128_backend, et_off> boost::multiprecision::float128 |
typedef number<cpp_int_backend<1024, 1024, signed_magnitude, unchecked, void> > boost::multiprecision::int1024_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<gmp_float<0> > boost::multiprecision::mpf_float |
typedef number<gmp_float<100> > boost::multiprecision::mpf_float_100 |
typedef number<gmp_float<1000> > boost::multiprecision::mpf_float_1000 |
typedef number<gmp_float<50> > boost::multiprecision::mpf_float_50 |
typedef number<gmp_float<500> > boost::multiprecision::mpf_float_500 |
typedef number<mpfi_float_backend<0> > boost::multiprecision::mpfi_float |
typedef number<mpfi_float_backend<100> > boost::multiprecision::mpfi_float_100 |
typedef number<mpfi_float_backend<1000> > boost::multiprecision::mpfi_float_1000 |
typedef number<mpfi_float_backend<50> > boost::multiprecision::mpfi_float_50 |
typedef number<mpfi_float_backend<500> > boost::multiprecision::mpfi_float_500 |
typedef number<mpfr_float_backend<0> > boost::multiprecision::mpfr_float |
typedef number<mpfr_float_backend<100> > boost::multiprecision::mpfr_float_100 |
typedef number<mpfr_float_backend<1000> > boost::multiprecision::mpfr_float_1000 |
typedef number<mpfr_float_backend<50> > boost::multiprecision::mpfr_float_50 |
typedef number<mpfr_float_backend<500> > boost::multiprecision::mpfr_float_500 |
typedef number<gmp_rational > boost::multiprecision::mpq_rational |
typedef number<gmp_int > boost::multiprecision::mpz_int |
typedef number<mpfr_float_backend<100, allocate_stack> > boost::multiprecision::static_mpfr_float_100 |
typedef number<tommath_int > boost::multiprecision::tom_int |
typedef number<cpp_int_backend<1024, 1024, unsigned_magnitude, unchecked, void> > boost::multiprecision::uint1024_t |
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 |
enable_if_c<is_integral<Integer>::value && is_integral<I2>::value, Integer&>::type boost::multiprecision::add | ( | Integer & | result, |
const I2 & | a, | ||
const I2 & | b | ||
) |
References boost::a.
enable_if_c<is_integral<Integer>::value, Integer&>::type boost::multiprecision::bit_flip | ( | Integer & | val, |
unsigned | index | ||
) |
References boost::phoenix::val().
enable_if_c<is_integral<Integer>::value, Integer&>::type boost::multiprecision::bit_set | ( | Integer & | val, |
unsigned | index | ||
) |
References boost::phoenix::val().
Referenced by sqrt().
enable_if_c<is_integral<Integer>::value, bool>::type boost::multiprecision::bit_test | ( | const Integer & | val, |
unsigned | index | ||
) |
enable_if_c<is_integral<Integer>::value, Integer&>::type boost::multiprecision::bit_unset | ( | Integer & | val, |
unsigned | index | ||
) |
References boost::phoenix::val().
|
inline |
References BOOST_ASSERT, count, and boost::adaptors::values().
Referenced by boost::multiprecision::backends::tommath_int::operator=().
|
inline |
References boost::phoenix::val().
enable_if_c<is_integral<Integer>::value>::type boost::multiprecision::divide_qr | ( | const Integer & | x, |
const Integer & | y, | ||
Integer & | q, | ||
Integer & | r | ||
) |
References boost::polygon::y().
Referenced by boost::multiprecision::backends::cpp_bin_float< Digits, DigitBase, Allocator, Exponent, MinExponent, MaxExponent >::operator=(), and boost::multiprecision::backends::cpp_bin_float< Digits, DigitBase, Allocator, Exponent, MinExponent, MaxExponent >::str().
|
inline |
References boost::a.
|
inline |
|
inline |
References boost::a, and boost::asio::b.
enable_if_c<is_integral<I1>::value && is_integral<I2>::value, I2>::type boost::multiprecision::integer_modulus | ( | const I1 & | x, |
I2 | val | ||
) |
References boost::phoenix::val().
Referenced by boost::multiprecision::detail::check_small_factors(), and powm().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References boost::multiprecision::number< Backend, ExpressionTemplates >::backend().
Referenced by overlap().
enable_if_c<is_integral<Integer>::value, unsigned>::type boost::multiprecision::lsb | ( | const Integer & | val | ) |
References BOOST_THROW_EXCEPTION.
Referenced by boost::multiprecision::cpp_bf_io_detail::get_round_mode(), miller_rabin_test(), boost::multiprecision::backends::cpp_bin_float< Digits, DigitBase, Allocator, Exponent, MinExponent, MaxExponent >::operator=(), and boost::multiprecision::cpp_bf_io_detail::restricted_multiply().
|
inline |
enable_if_c<number_category<I>::value == number_kind_integer, bool>::type boost::multiprecision::miller_rabin_test | ( | const I & | n, |
unsigned | trials, | ||
Engine & | gen | ||
) |
References bit_test(), boost::multiprecision::detail::cast_to_unsigned(), boost::multiprecision::detail::check_small_factors(), boost::multiprecision::backends::i, boost::multiprecision::detail::is_small_prime(), lsb(), powm(), boost::flyweights::x, and boost::polygon::y().
Referenced by miller_rabin_test().
enable_if_c<number_category<I>::value == number_kind_integer, bool>::type boost::multiprecision::miller_rabin_test | ( | const I & | x, |
unsigned | trials | ||
) |
References miller_rabin_test().
bool boost::multiprecision::miller_rabin_test | ( | const detail::expression< tag, Arg1, Arg2, Arg3, Arg4 > & | n, |
unsigned | trials, | ||
Engine & | gen | ||
) |
References miller_rabin_test().
bool boost::multiprecision::miller_rabin_test | ( | const detail::expression< tag, Arg1, Arg2, Arg3, Arg4 > & | n, |
unsigned | trials | ||
) |
References miller_rabin_test().
|
inline |
References boost::a, and boost::asio::b.
Referenced by boost::multiprecision::backends::add_unsigned(), boost::multiprecision::backends::bitwise_op(), and boost::multiprecision::backends::subtract_unsigned().
enable_if_c<is_integral<Integer>::value, unsigned>::type boost::multiprecision::msb | ( | Integer | val | ) |
References BOOST_THROW_EXCEPTION.
Referenced by boost::multiprecision::backends::copy_and_round(), boost::multiprecision::backends::eval_divide(), boost::multiprecision::backends::eval_exp(), boost::multiprecision::cpp_bf_io_detail::get_round_mode(), boost::multiprecision::backends::cpp_bin_float< Digits, DigitBase, Allocator, Exponent, MinExponent, MaxExponent >::operator=(), boost::multiprecision::cpp_bf_io_detail::restricted_multiply(), sqrt(), and boost::multiprecision::backends::cpp_bin_float< Digits, DigitBase, Allocator, Exponent, MinExponent, MaxExponent >::str().
enable_if_c<is_integral<Integer>::value && is_integral<I2>::value, Integer&>::type boost::multiprecision::multiply | ( | Integer & | result, |
const I2 & | a, | ||
const I2 & | b | ||
) |
|
inline |
References boost::phoenix::val().
constexpr number<cpp_int_backend<MinBits, MinBits, signed_magnitude, Checked, void>, et_off> boost::multiprecision::operator- | ( | const number< cpp_int_backend< MinBits, MinBits, signed_magnitude, Checked, void >, et_off > & | a | ) |
constexpr number<cpp_int_backend<MinBits, MinBits, signed_magnitude, Checked, void>, et_off> boost::multiprecision::operator- | ( | number< cpp_int_backend< MinBits, MinBits, signed_magnitude, Checked, void >, et_off > && | a | ) |
References boost::a, and boost::multiprecision::literals::detail::make_negate_tag().
|
inline |
References std::fill(), boost::bimaps::support::left, and boost::asio::s.
|
inline |
|
inline |
References boost::a, boost::asio::b, lower(), and upper().
enable_if_c<is_integral<I1>::value && is_unsigned<I2>::value && is_integral<I3>::value, I1>::type boost::multiprecision::powm | ( | const I1 & | a, |
I2 | b, | ||
I3 | c | ||
) |
References boost::multiprecision::backends::c, integer_modulus(), multiply(), boost::flyweights::x, and boost::polygon::y().
Referenced by miller_rabin_test(), and powm().
|
inline |
References BOOST_THROW_EXCEPTION, powm(), and boost::detail::type.
|
inline |
References boost::a, and boost::asio::b.
|
inline |
References boost::a.
enable_if_c<is_integral<Integer>::value, Integer>::type boost::multiprecision::sqrt | ( | const Integer & | x, |
Integer & | r | ||
) |
References bit_set(), msb(), boost::asio::s, boost::flyweights::t, and boost::flyweights::x.
Referenced by sqrt().
enable_if_c<is_integral<Integer>::value, Integer>::type boost::multiprecision::sqrt | ( | const Integer & | x | ) |
References sqrt().
|
inline |
References boost::a, and boost::asio::b.
enable_if_c<is_integral<Integer>::value && is_integral<I2>::value, Integer&>::type boost::multiprecision::subtract | ( | Integer & | result, |
const I2 & | a, | ||
const I2 & | b | ||
) |
References boost::a.
BOOST_MP_FORCEINLINE void boost::multiprecision::swap | ( | number< Backend, ExpressionTemplates > & | a, |
number< Backend, ExpressionTemplates > & | b | ||
) |
|
inline |
References boost::multiprecision::number< Backend, ExpressionTemplates >::backend().
Referenced by overlap().
|
inline |
References boost::multiprecision::number< Backend, ExpressionTemplates >::backend().
Referenced by boost::geometry::detail::svg::svg_box< Box >::apply(), boost::gil::detail::png_reader::apply(), boost::gil::detail::png_reader_color_convert< CC >::apply(), boost::locale::utf::utf_traits< CharType, 1 >::decode(), boost::random::piecewise_constant_distribution< RealType, WeightType >::param_type::densities(), boost::random::piecewise_linear_distribution< RealType >::param_type::densities(), boost::random::piecewise_linear_distribution< RealType >::densities(), boost::tuples::detail::handle_width(), boost::date_time::time_facet< time_type, CharT, OutItrT >::hours_as_string(), boost::date_time::time_facet< time_type, CharT, OutItrT >::integral_as_string(), boost::uuids::operator<<(), boost::operator<<(), print_table(), boost::gil::detail::tiff_reader_dynamic::read_image(), and boost::gil::detail::png_reader_dynamic::read_image().
|
inline |
References boost::a.