Home
last modified time | relevance | path

Searched refs:miller_rabin_test (Results 1 – 7 of 7) sorted by relevance

/third_party/boost/boost/multiprecision/
Dmiller_rabin.hpp136 miller_rabin_test(const I& n, unsigned trials, Engine& gen) in miller_rabin_test() function
200 miller_rabin_test(const I& x, unsigned trials) in miller_rabin_test() function
203 return miller_rabin_test(x, trials, gen); in miller_rabin_test()
207 bool miller_rabin_test(const detail::expression<tag, Arg1, Arg2, Arg3, Arg4>& n, unsigned trials, E… in miller_rabin_test() function
210 return miller_rabin_test(number_type(n), trials, gen); in miller_rabin_test()
214 bool miller_rabin_test(const detail::expression<tag, Arg1, Arg2, Arg3, Arg4>& n, unsigned trials) in miller_rabin_test() function
217 return miller_rabin_test(number_type(n), trials); in miller_rabin_test()
/third_party/boost/libs/multiprecision/example/
Dsafe_prime.cpp30 if(miller_rabin_test(n, 25, gen2)) in main()
34 if(miller_rabin_test((n-1)/2, 25, gen2)) in main()
/third_party/boost/libs/multiprecision/test/
Dtest_miller_rabin.cpp51 BOOST_TEST(miller_rabin_test(test_type(boost::math::prime(i)), 25, gen)); in test()
60 bool is_prime_boost = miller_rabin_test(n, 25, gen2); in test()
/third_party/boost/libs/multiprecision/performance/
Dmiller_rabin_performance.hpp71 if (boost::multiprecision::miller_rabin_test(n, 25, gen2)) in test_miller_rabin()
/third_party/boost/libs/safe_numerics/test/
Dtest_performance.cpp99 if (boost::multiprecision::miller_rabin_test(i, 25)) ++count; in test()
/third_party/quickjs/
Dqjscalc.js127 function miller_rabin_test(n, t) { function
282 return miller_rabin_test(n, t);
/third_party/boost/libs/multiprecision/doc/
Dmultiprecision.qbk2126 …bool miller_rabin_test(const number<Backend, ExpressionTemplates>& n, unsigned trials, Engine& gen…
2129 bool miller_rabin_test(const number<Backend, ExpressionTemplates>& n, unsigned trials);
2141 to produce candidate prime numbers for testing, than is used internally by `miller_rabin_test` for …
2589 … bool miller_rabin_test(const number-or-expression-template-type& n, unsigned trials, Engine& gen);
2590 bool miller_rabin_test(const number-or-expression-template-type& n, unsigned trials);
3861 …bool miller_rabin_test(const ``['number-or-expression-template-type]``& n, unsigned trials, Engine…
3862 bool miller_rabin_test(const ``['number-or-expression-template-type]``& n, unsigned trials);
4399 …bool miller_rabin_test(const ``['number-or-expression-template-type]``& n, unsigned trials, Engine…
4400 bool miller_rabin_test(const ``['number-or-expression-template-type]``& n, unsigned trials);