Searched refs:integer_modulus (Results 1 – 9 of 9) sorted by relevance
/third_party/boost/boost/multiprecision/ |
D | miller_rabin.hpp | 23 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()
|
D | integer.hpp | 42 …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/ |
D | test_performance.cpp | 37 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/ |
D | constexpr_test_cpp_int_5.cpp | 180 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()
|
D | test_native_integer.cpp | 71 BOOST_CHECK_EQUAL(integer_modulus(i, j), i % j); in test()
|
D | test_cpp_int.cpp | 376 BOOST_CHECK_EQUAL(integer_modulus(a, si), integer_modulus(a1, si)); in t5()
|
D | test_arithmetic.hpp | 401 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/ |
D | integer_ops.hpp | 163 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/ |
D | multiprecision.qbk | 645 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);
|