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::detail Namespace Reference

Classes

struct  gmp_float_imp
 
struct  mpfi_float_imp
 
struct  mpfr_cleanup
 
struct  mpfr_float_imp
 
struct  mpfr_float_imp< digits10, allocate_dynamic >
 
struct  mpfr_float_imp< digits10, allocate_stack >
 

Functions

template<class S >
disable_if_c< is_unsigned< S >
::value, bool >::type 
is_negative (S s)
 
void raise_overflow (std::string op)
 
void raise_add_overflow ()
 
void raise_subtract_overflow ()
 
void raise_mul_overflow ()
 
void raise_div_overflow ()
 
template<class A >
checked_add_imp (A a, A b, const mpl::true_ &)
 
template<class A >
checked_add_imp (A a, A b, const mpl::false_ &)
 
template<class A >
checked_add (A a, A b, const mpl::int_< checked > &)
 
template<class A >
checked_add (A a, A b, const mpl::int_< unchecked > &)
 
template<class A >
checked_subtract_imp (A a, A b, const mpl::true_ &)
 
template<class A >
checked_subtract_imp (A a, A b, const mpl::false_ &)
 
template<class A >
checked_subtract (A a, A b, const mpl::int_< checked > &)
 
template<class A >
checked_subtract (A a, A b, const mpl::int_< unchecked > &)
 
template<class A >
checked_multiply (A a, A b, const mpl::int_< checked > &)
 
template<class A >
checked_multiply (A a, A b, const mpl::int_< unchecked > &)
 
template<class A >
checked_divide (A a, A b, const mpl::int_< checked > &)
 
template<class A >
checked_divide (A a, A b, const mpl::int_< unchecked > &)
 
template<class A >
checked_left_shift (A a, unsigned long long shift, const mpl::int_< checked > &)
 
template<class A >
checked_left_shift (A a, unsigned long long shift, const mpl::int_< unchecked > &)
 
void verify_new_size (unsigned new_size, unsigned min_size, const mpl::int_< checked > &)
 
void verify_new_size (unsigned, unsigned, const mpl::int_< unchecked > &)
 
template<class U >
void verify_limb_mask (bool b, U limb, U mask, const mpl::int_< checked > &)
 
template<class U >
void verify_limb_mask (bool, U, U, const mpl::int_< unchecked > &)
 
int mpfi_sgn (mpfi_srcptr p)
 
long get_default_precision ()
 
void check_tommath_result (unsigned v)
 

Variables

template<class U >
enable_if_c< is_unsigned< U >
::value, bool >::type 
is_negative (U)
 

Function Documentation

template<class A >
A boost::multiprecision::backends::detail::checked_add ( a,
b,
const mpl::int_< checked > &   
)
inline

References checked_add_imp().

template<class A >
A boost::multiprecision::backends::detail::checked_add ( a,
b,
const mpl::int_< unchecked > &   
)
inline
template<class A >
A boost::multiprecision::backends::detail::checked_add_imp ( a,
b,
const mpl::true_  
)
inline
template<class A >
A boost::multiprecision::backends::detail::checked_add_imp ( a,
b,
const mpl::false_  
)
inline
template<class A >
A boost::multiprecision::backends::detail::checked_divide ( a,
b,
const mpl::int_< checked > &   
)
inline
template<class A >
A boost::multiprecision::backends::detail::checked_divide ( a,
b,
const mpl::int_< unchecked > &   
)
inline
template<class A >
A boost::multiprecision::backends::detail::checked_left_shift ( a,
unsigned long long  shift,
const mpl::int_< checked > &   
)
inline
template<class A >
A boost::multiprecision::backends::detail::checked_left_shift ( a,
unsigned long long  shift,
const mpl::int_< unchecked > &   
)
inline
template<class A >
A boost::multiprecision::backends::detail::checked_multiply ( a,
b,
const mpl::int_< checked > &   
)
inline
template<class A >
A boost::multiprecision::backends::detail::checked_multiply ( a,
b,
const mpl::int_< unchecked > &   
)
inline
template<class A >
A boost::multiprecision::backends::detail::checked_subtract ( a,
b,
const mpl::int_< checked > &   
)
inline
template<class A >
A boost::multiprecision::backends::detail::checked_subtract ( a,
b,
const mpl::int_< unchecked > &   
)
inline
template<class A >
A boost::multiprecision::backends::detail::checked_subtract_imp ( a,
b,
const mpl::true_  
)
inline
template<class A >
A boost::multiprecision::backends::detail::checked_subtract_imp ( a,
b,
const mpl::false_  
)
inline
template<class S >
disable_if_c<is_unsigned<S>::value, bool>::type boost::multiprecision::backends::detail::is_negative ( s)
inline
int boost::multiprecision::backends::detail::mpfi_sgn ( mpfi_srcptr  p)
inline
void boost::multiprecision::backends::detail::raise_add_overflow ( )
inline

References raise_overflow().

Referenced by checked_add_imp().

void boost::multiprecision::backends::detail::raise_div_overflow ( )
inline

References raise_overflow().

Referenced by checked_divide().

void boost::multiprecision::backends::detail::raise_mul_overflow ( )
inline

References raise_overflow().

Referenced by checked_multiply().

void boost::multiprecision::backends::detail::raise_overflow ( std::string  op)
inline
void boost::multiprecision::backends::detail::raise_subtract_overflow ( )
inline

References BOOST_THROW_EXCEPTION.

Referenced by checked_subtract_imp().

template<class U >
void boost::multiprecision::backends::detail::verify_limb_mask ( bool  b,
limb,
mask,
const mpl::int_< checked > &   
)
inline

References BOOST_THROW_EXCEPTION.

template<class U >
void boost::multiprecision::backends::detail::verify_limb_mask ( bool  ,
,
,
const mpl::int_< unchecked > &   
)
inline
void boost::multiprecision::backends::detail::verify_new_size ( unsigned  new_size,
unsigned  min_size,
const mpl::int_< checked > &   
)
inline
void boost::multiprecision::backends::detail::verify_new_size ( unsigned  ,
unsigned  ,
const mpl::int_< unchecked > &   
)
inline

Variable Documentation