Home
last modified time | relevance | path

Searched refs:integer_modulus (Results 1 – 9 of 9) sorted by relevance

/third_party/boost/boost/multiprecision/
Dmiller_rabin.hpp23 boost::uint32_t m1 = integer_modulus(n, pp1); in check_small_factors()
36 m1 = integer_modulus(n, pp2); in check_small_factors()
49 m1 = integer_modulus(n, pp3); in check_small_factors()
62 m1 = integer_modulus(n, pp4); in check_small_factors()
89 m1 = integer_modulus(n, pp5[k]); in check_small_factors()
Dinteger.hpp42 …ble_if_c<is_integral<I1>::value && is_integral<I2>::value, I2>::type integer_modulus(const I1& x, … in integer_modulus() function
91 x = integer_modulus(result, c); in powm()
94 y = integer_modulus(result, c); in powm()
/third_party/boost/libs/safe_numerics/test/
Dtest_performance.cpp37 integer_modulus(const I1& x, I2 val){ in integer_modulus() function
61 x = integer_modulus(result, c); in powm()
64 y = integer_modulus(result, c); in powm()
/third_party/boost/libs/multiprecision/test/
Dconstexpr_test_cpp_int_5.cpp180 constexpr int i1 = integer_modulus(si1, 67); in main()
182 int r = integer_modulus(nc, 67); in main()
185 constexpr std::int32_t k = boost::multiprecision::integer_modulus(i, j); in main()
187 r = boost::multiprecision::integer_modulus(ii, j); in main()
Dtest_native_integer.cpp71 BOOST_CHECK_EQUAL(integer_modulus(i, j), i % j); in test()
Dtest_cpp_int.cpp376 BOOST_CHECK_EQUAL(integer_modulus(a, si), integer_modulus(a1, si)); in t5()
Dtest_arithmetic.hpp401 BOOST_CHECK_EQUAL(integer_modulus(a, 57), abs(a % 57)); in test_signed_integer_ops()
406 BOOST_CHECK_EQUAL(integer_modulus(a, -57), abs(a % -57)); in test_signed_integer_ops()
411 BOOST_CHECK_EQUAL(integer_modulus(a, -57), abs(a % -57)); in test_signed_integer_ops()
780 BOOST_CHECK_EQUAL(integer_modulus(a, 57), a % 57); in test_integer_ops()
/third_party/boost/boost/multiprecision/detail/
Dinteger_ops.hpp163 integer_modulus(const number<Backend, ExpressionTemplates>& x, Integer val) in integer_modulus() function
171 integer_modulus(const multiprecision::detail::expression<tag, A1, A2, A3, A4>& x, Integer val) in integer_modulus() function
174 return integer_modulus(result_type(x), val); in integer_modulus()
/third_party/boost/libs/multiprecision/doc/
Dmultiprecision.qbk645 the free functions `abs`, `swap`, `multiply`, `add`, `subtract`, `divide_qr`, `integer_modulus`, `p…
2249 the free functions `abs`, `swap`, `multiply`, `add`, `subtract`, `divide_qr`, `integer_modulus`, `p…
2543 Integer2 integer_modulus(const Integer1& x, Integer2 val);
3849 Integer integer_modulus(const ``['number-or-expression-template-type]``& x, Integer val);
4362 Integer integer_modulus(const ``['number-or-expression-template-type]``& x, Integer val);