Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
add.hpp File Reference
This graph shows which files directly or indirectly include this file:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::multiprecision
 
 boost::multiprecision::backends
 

Functions

template<class CppInt1 , class CppInt2 , class CppInt3 >
void boost::multiprecision::backends::add_unsigned (CppInt1 &result, const CppInt2 &a, const CppInt3 &b) BOOST_NOEXCEPT_IF(is_non_throwing_cpp_int< CppInt1 >
 
template<class CppInt1 , class CppInt2 >
void boost::multiprecision::backends::add_unsigned (CppInt1 &result, const CppInt2 &a, const limb_type &o) BOOST_NOEXCEPT_IF(is_non_throwing_cpp_int< CppInt1 >
 
template<class CppInt1 , class CppInt2 , class CppInt3 >
void boost::multiprecision::backends::subtract_unsigned (CppInt1 &result, const CppInt2 &a, const CppInt3 &b) BOOST_NOEXCEPT_IF(is_non_throwing_cpp_int< CppInt1 >
 
template<class CppInt1 , class CppInt2 >
void boost::multiprecision::backends::subtract_unsigned (CppInt1 &result, const CppInt2 &a, const limb_type &b) BOOST_NOEXCEPT_IF(is_non_throwing_cpp_int< CppInt1 >
 
template<unsigned MinBits1, unsigned MaxBits1, cpp_integer_type SignType1, cpp_int_check_type Checked1, class Allocator1 , unsigned MinBits2, unsigned MaxBits2, cpp_integer_type SignType2, cpp_int_check_type Checked2, class Allocator2 >
BOOST_MP_FORCEINLINE
enable_if_c
<!is_trivial_cpp_int
< cpp_int_backend< MinBits1,
MaxBits1, SignType1, Checked1,
Allocator1 > >::value
&&!is_trivial_cpp_int
< cpp_int_backend< MinBits2,
MaxBits2, SignType2, Checked2,
Allocator2 > >::value >::type 
boost::multiprecision::backends::eval_add (cpp_int_backend< MinBits1, MaxBits1, SignType1, Checked1, Allocator1 > &result, const cpp_int_backend< MinBits2, MaxBits2, SignType2, Checked2, Allocator2 > &o) BOOST_NOEXCEPT_IF((is_non_throwing_cpp_int< cpp_int_backend< MinBits1
 
template<unsigned MinBits1, unsigned MaxBits1, cpp_integer_type SignType1, cpp_int_check_type Checked1, class Allocator1 , unsigned MinBits2, unsigned MaxBits2, cpp_integer_type SignType2, cpp_int_check_type Checked2, class Allocator2 , unsigned MinBits3, unsigned MaxBits3, cpp_integer_type SignType3, cpp_int_check_type Checked3, class Allocator3 >
enable_if_c
<!is_trivial_cpp_int
< cpp_int_backend< MinBits1,
MaxBits1, SignType1, Checked1,
Allocator1 > >::value
&&!is_trivial_cpp_int
< cpp_int_backend< MinBits2,
MaxBits2, SignType2, Checked2,
Allocator2 > >::value
&&!is_trivial_cpp_int
< cpp_int_backend< MinBits3,
MaxBits3, SignType3, Checked3,
Allocator3 > >::value >::type 
boost::multiprecision::backends::eval_add (cpp_int_backend< MinBits1, MaxBits1, SignType1, Checked1, Allocator1 > &result, const cpp_int_backend< MinBits2, MaxBits2, SignType2, Checked2, Allocator2 > &a, const cpp_int_backend< MinBits3, MaxBits3, SignType3, Checked3, Allocator3 > &b) BOOST_NOEXCEPT_IF((is_non_throwing_cpp_int< cpp_int_backend< MinBits1
 
template<unsigned MinBits1, unsigned MaxBits1, cpp_integer_type SignType1, cpp_int_check_type Checked1, class Allocator1 >
BOOST_MP_FORCEINLINE
enable_if_c
<!is_trivial_cpp_int
< cpp_int_backend< MinBits1,
MaxBits1, SignType1, Checked1,
Allocator1 > >::value >::type 
boost::multiprecision::backends::eval_add (cpp_int_backend< MinBits1, MaxBits1, SignType1, Checked1, Allocator1 > &result, const limb_type &o) BOOST_NOEXCEPT_IF((is_non_throwing_cpp_int< cpp_int_backend< MinBits1
 
template<unsigned MinBits1, unsigned MaxBits1, cpp_integer_type SignType1, cpp_int_check_type Checked1, class Allocator1 , unsigned MinBits2, unsigned MaxBits2, cpp_integer_type SignType2, cpp_int_check_type Checked2, class Allocator2 >
BOOST_MP_FORCEINLINE
enable_if_c
<!is_trivial_cpp_int
< cpp_int_backend< MinBits1,
MaxBits1, SignType1, Checked1,
Allocator1 > >::value
&&!is_trivial_cpp_int
< cpp_int_backend< MinBits2,
MaxBits2, SignType2, Checked2,
Allocator2 > >::value >::type 
boost::multiprecision::backends::eval_add (cpp_int_backend< MinBits1, MaxBits1, SignType1, Checked1, Allocator1 > &result, const cpp_int_backend< MinBits2, MaxBits2, SignType2, Checked2, Allocator2 > &a, const limb_type &o) BOOST_NOEXCEPT_IF((is_non_throwing_cpp_int< cpp_int_backend< MinBits1
 
else boost::multiprecision::backends::if (o > 0) eval_add(result
 
else boost::multiprecision::backends::static_cast< limb_type > (o))
 
template<unsigned MinBits1, unsigned MaxBits1, cpp_integer_type SignType1, cpp_int_check_type Checked1, class Allocator1 >
BOOST_MP_FORCEINLINE
enable_if_c
<!is_trivial_cpp_int
< cpp_int_backend< MinBits1,
MaxBits1, SignType1, Checked1,
Allocator1 > >::value >::type 
boost::multiprecision::backends::eval_subtract (cpp_int_backend< MinBits1, MaxBits1, SignType1, Checked1, Allocator1 > &result, const limb_type &o) BOOST_NOEXCEPT_IF((is_non_throwing_cpp_int< cpp_int_backend< MinBits1
 
template<unsigned MinBits1, unsigned MaxBits1, cpp_integer_type SignType1, cpp_int_check_type Checked1, class Allocator1 , unsigned MinBits2, unsigned MaxBits2, cpp_integer_type SignType2, cpp_int_check_type Checked2, class Allocator2 >
BOOST_MP_FORCEINLINE
enable_if_c
<!is_trivial_cpp_int
< cpp_int_backend< MinBits1,
MaxBits1, SignType1, Checked1,
Allocator1 > >::value
&&!is_trivial_cpp_int
< cpp_int_backend< MinBits2,
MaxBits2, SignType2, Checked2,
Allocator2 > >::value >::type 
boost::multiprecision::backends::eval_subtract (cpp_int_backend< MinBits1, MaxBits1, SignType1, Checked1, Allocator1 > &result, const cpp_int_backend< MinBits2, MaxBits2, SignType2, Checked2, Allocator2 > &a, const limb_type &o) BOOST_NOEXCEPT_IF((is_non_throwing_cpp_int< cpp_int_backend< MinBits1
 

Variables

BOOST_MP_FORCEINLINE
enable_if_c
<!is_trivial_cpp_int
< cpp_int_backend< MinBits1,
MaxBits1, SignType1, Checked1,
Allocator1 > >::value
&&!is_trivial_cpp_int
< cpp_int_backend< MinBits2,
MaxBits2, SignType2, Checked2,
Allocator2 > >::value >::type 
boost::multiprecision::backends::MaxBits1
 
BOOST_MP_FORCEINLINE
enable_if_c
<!is_trivial_cpp_int
< cpp_int_backend< MinBits1,
MaxBits1, SignType1, Checked1,
Allocator1 > >::value
&&!is_trivial_cpp_int
< cpp_int_backend< MinBits2,
MaxBits2, SignType2, Checked2,
Allocator2 > >::value >::type 
boost::multiprecision::backends::SignType1
 
BOOST_MP_FORCEINLINE
enable_if_c
<!is_trivial_cpp_int
< cpp_int_backend< MinBits1,
MaxBits1, SignType1, Checked1,
Allocator1 > >::value
&&!is_trivial_cpp_int
< cpp_int_backend< MinBits2,
MaxBits2, SignType2, Checked2,
Allocator2 > >::value >::type 
boost::multiprecision::backends::Checked1
 
else boost::multiprecision::backends::a { using default_ops::BOOST_JOIN(eval_, add )
 
else if result boost::multiprecision::backends::result = a