Home
last modified time | relevance | path

Searched refs:gcd_detail (Results 1 – 6 of 6) sorted by relevance

/third_party/boost/boost/integer/
Dcommon_factor_rt.hpp49 namespace gcd_detail{ namespace
413 return gcd_detail::mixed_binary_gcd(a, b); in optimal_gcd_select()
420 return gcd_detail::Stein_gcd(a, b); in optimal_gcd_select()
427 return gcd_detail::Euclid_gcd(a, b); in optimal_gcd_select()
433 T temp = boost::integer::gcd_detail::optimal_gcd_select(a, b); in lcm_imp()
448 …return a == static_cast<Integer>(0) ? gcd_detail::gcd_traits<Integer>::abs(b) : boost::integer::gc… in gcd()
450 …return b == static_cast<Integer>(0) ? gcd_detail::gcd_traits<Integer>::abs(a) : boost::integer::gc… in gcd()
451 …return gcd_detail::optimal_gcd_select(static_cast<Integer>(gcd_detail::gcd_traits<Integer>::abs(a)… in gcd()
457 …return gcd_detail::lcm_imp(static_cast<Integer>(gcd_detail::gcd_traits<Integer>::abs(a)), static_c… in lcm()
/third_party/boost/libs/integer/test/
Dgcd_constexpr14_test.cpp40 constexpr const boost::uint64_t k = boost::integer::gcd_detail::Euclid_gcd(i, j); in test_constexpr3()
50 constexpr const boost::uint64_t k = boost::integer::gcd_detail::mixed_binary_gcd(i, j); in test_constexpr4()
60 constexpr const boost::uint64_t k = boost::integer::gcd_detail::Stein_gcd(i, j); in test_constexpr5()
Dcommon_factor_test.cpp409 int g = boost::integer::gcd_detail::Euclid_gcd(v1, v2); in gcd_method_test()
412 BOOST_TEST_EQ(g, boost::integer::gcd_detail::mixed_binary_gcd(v1, v2)); in gcd_method_test()
413 BOOST_TEST_EQ(g, boost::integer::gcd_detail::Stein_gcd(v1, v2)); in gcd_method_test()
/third_party/boost/boost/math/tools/
Dpolynomial_gcd.hpp23 namespace gcd_detail { namespace
188 return boost::integer::gcd_detail::Euclid_gcd(u, v); in gcd()
/third_party/boost/libs/math/reporting/performance/
Dtest_gcd.cpp183 using namespace boost::integer::gcd_detail; in test_type()
376 *up = boost::integer::gcd_detail::mixed_binary_gcd(*vp->limbs(), *up->limbs()); in eval_gcd_new()
382 u = boost::integer::gcd_detail::mixed_binary_gcd(i, j); in eval_gcd_new()
/third_party/boost/libs/math/test/
Dtest_polynomial.cpp30 using boost::integer::gcd_detail::Euclid_gcd;