• Home
  • Raw
  • Download

Lines Matching refs:inverse

85         IntType inverse = boost::random::const_mod<IntType, 127>::invert(IntType(i));  in BOOST_AUTO_TEST_CASE_TEMPLATE()  local
86 BOOST_CHECK_EQUAL((boost::random::const_mod<IntType, 127>::mult(IntType(i), inverse)), 1); in BOOST_AUTO_TEST_CASE_TEMPLATE()
90 IntType inverse = boost::random::const_mod<IntType, 0>::invert(IntType(i)); in BOOST_AUTO_TEST_CASE_TEMPLATE() local
91 BOOST_CHECK_EQUAL((boost::random::const_mod<IntType, 0>::mult(IntType(i), inverse)), 1); in BOOST_AUTO_TEST_CASE_TEMPLATE()
127 IntType inverse; in BOOST_AUTO_TEST_CASE_TEMPLATE() local
128 inverse = boost::random::const_mod<IntType, 2147483563>::invert(2147483562); in BOOST_AUTO_TEST_CASE_TEMPLATE()
129 …BOOST_CHECK_EQUAL((boost::random::const_mod<IntType, 2147483563>::mult(2147483562, inverse)), IntT… in BOOST_AUTO_TEST_CASE_TEMPLATE()
130 inverse = boost::random::const_mod<IntType, 2147483563>::invert(1234567890); in BOOST_AUTO_TEST_CASE_TEMPLATE()
131 …BOOST_CHECK_EQUAL((boost::random::const_mod<IntType, 2147483563>::mult(1234567890, inverse)), IntT… in BOOST_AUTO_TEST_CASE_TEMPLATE()
176 IntType inverse; in BOOST_AUTO_TEST_CASE_TEMPLATE() local
177 inverse = const_mod_type::invert(INT64_C(7362947769)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
178 BOOST_CHECK_EQUAL((const_mod_type::mult(INT64_C(7362947769), inverse)), IntType(1)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
179 inverse = const_mod_type::invert(INT64_C(1263142436887493875)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
180 BOOST_CHECK_EQUAL((const_mod_type::mult(INT64_C(1263142436887493875), inverse)), IntType(1)); in BOOST_AUTO_TEST_CASE_TEMPLATE()