Home
last modified time | relevance | path

Searched refs:random_type (Results 1 – 18 of 18) sorted by relevance

/third_party/boost/libs/multiprecision/test/
Dtest_cpp_int_left_shift.cpp32 typedef boost::random::mt19937::result_type random_type; in generate_random() typedef
47 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random()
48 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
Dtest_unchecked_cpp_int.cpp23 typedef boost::random::mt19937::result_type random_type; in generate_random() typedef
38 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random()
39 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
Dtest_cpp_rat_serial.cpp35 typedef boost::random::mt19937::result_type random_type; in generate_random() typedef
50 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random()
51 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
Dtest_cpp_int_serial.cpp35 typedef boost::random::mt19937::result_type random_type; in generate_random() typedef
50 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random()
51 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
Dtest_adapt_serial.cpp37 typedef boost::random::mt19937::result_type random_type; in generate_random() typedef
52 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random()
53 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
Dtest_convert_from_mpz_int.cpp42 typedef boost::random::mt19937::result_type random_type; in generate_random() typedef
57 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random()
58 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
Dtest_convert_from_tom_int.cpp42 typedef boost::random::mt19937::result_type random_type; in generate_random() typedef
57 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random()
58 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
Dtest_convert_from_tom_rational.cpp42 typedef boost::random::mt19937::result_type random_type; in generate_random_int() typedef
57 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random_int()
58 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random_int()
Dtest_convert_from_cpp_rational.cpp42 typedef boost::random::mt19937::result_type random_type; in generate_random_int() typedef
57 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random_int()
58 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random_int()
Dtest_convert_from_gmp_rational.cpp42 typedef boost::random::mt19937::result_type random_type; in generate_random_int() typedef
57 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random_int()
58 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random_int()
Dtest_checked_cpp_int.cpp23 typedef boost::random::mt19937::result_type random_type; in generate_random() typedef
38 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random()
39 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
Dtest_convert_from_cpp_int.cpp42 typedef boost::random::mt19937::result_type random_type; in generate_random() typedef
57 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random()
58 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
Dtest_cpp_int_karatsuba.cpp39 typedef boost::random::mt19937::result_type random_type; in generate_random() typedef
54 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random()
55 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
Dtest_fixed_int.cpp24 typedef boost::random::mt19937::result_type random_type; in generate_random() typedef
39 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random()
40 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
Dtest_cpp_int.cpp44 typedef boost::random::mt19937::result_type random_type; in generate_random() typedef
59 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random()
60 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
/third_party/boost/libs/math/include_private/boost/math/tools/
Dtest_data.hpp527 typedef float random_type; in create_test_points() typedef
530 …random_ns::uniform_real_distribution<random_type> ur_a(real_cast<random_type>(arg1.z1), real_cast< in create_test_points()
534 random_type r = ur_a(rnd); in create_test_points()
556 typedef float random_type; in create_test_points() typedef
562 random_ns::uniform_real_distribution<random_type> ur_a(1.0, 2.0); in create_test_points()
566 random_type r = ur_a(rnd); in create_test_points()
/third_party/boost/libs/multiprecision/performance/
Dperformance_test.hpp508 typedef boost::random::mt19937::result_type random_type; in generate_random() typedef
523 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random()
524 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
540 typedef boost::random::mt19937::result_type random_type; in generate_random() typedef
556 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random()
557 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
/third_party/boost/libs/math/reporting/performance/
Dtest_gcd.cpp243 typedef boost::random::mt19937::result_type random_type; in generate_random() typedef
258 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random()
259 while((random_type(1) << bits_per_r_val) > (gen.max)()) --bits_per_r_val; in generate_random()