Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
miller_rabin.hpp File Reference
Include dependency graph for miller_rabin.hpp:

Namespaces

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

Functions

template<class I >
bool boost::multiprecision::detail::check_small_factors (const I &n)
 
bool boost::multiprecision::detail::is_small_prime (unsigned n)
 
template<class I >
enable_if_c< is_convertible< I,
unsigned >::value, unsigned >
::type 
boost::multiprecision::detail::cast_to_unsigned (const I &val)
 
template<class I >
disable_if_c< is_convertible
< I, unsigned >::value,
unsigned >::type 
boost::multiprecision::detail::cast_to_unsigned (const I &val)
 
template<class I , class Engine >
enable_if_c< number_category
< I >::value==number_kind_integer,
bool >::type 
boost::multiprecision::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 
boost::multiprecision::miller_rabin_test (const I &x, unsigned trials)
 
template<class tag , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Engine >
bool boost::multiprecision::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 boost::multiprecision::miller_rabin_test (const detail::expression< tag, Arg1, Arg2, Arg3, Arg4 > &n, unsigned trials)