Home
last modified time | relevance | path

Searched refs:generate_random (Results 1 – 25 of 33) sorted by relevance

12

/third_party/boost/libs/multiprecision/test/
Dtest_cpp_int_karatsuba.cpp36 T generate_random(unsigned bits_wanted) in generate_random() function
89 mpz_int f = generate_random<mpz_int>(std::numeric_limits<N>::digits + 2); in test()
90 mpz_int g = generate_random<mpz_int>(std::numeric_limits<N>::digits + 2); in test()
117 f = generate_random<mpz_int>(d(gen)); in test()
118 g = generate_random<mpz_int>(d(gen)); in test()
203 mpz_int f = generate_random<mpz_int>(d(gen)); in test()
204 mpz_int g = generate_random<mpz_int>(d(gen)); in test()
Dtest_unchecked_cpp_int.cpp20 T generate_random(unsigned bits_wanted) in generate_random() function
66 test_type a = static_cast<test_type>(generate_random<cpp_int>(i)); in test()
67 test_type b = static_cast<test_type>(generate_random<cpp_int>(j)); in test()
Dtest_convert_from_cpp_bin_float.cpp40 T generate_random() in generate_random() function
78 From from = generate_random<From>(); in test_convert_imp()
106 From from = generate_random<From>(); in test_convert_imp()
136 From from = generate_random<From>(); in test_convert_imp()
Dtest_convert_from_mpfr_float.cpp42 T generate_random() in generate_random() function
80 From from = generate_random<From>(); in test_convert_imp()
108 From from = generate_random<From>(); in test_convert_imp()
138 From from = generate_random<From>(); in test_convert_imp()
Dtest_convert_from_mpf_float.cpp42 T generate_random() in generate_random() function
80 From from = generate_random<From>(); in test_convert_imp()
109 From from = generate_random<From>(); in test_convert_imp()
140 From from = generate_random<From>(); in test_convert_imp()
Dtest_convert_from_cpp_dec_float.cpp40 T generate_random() in generate_random() function
78 From from = generate_random<From>(); in test_convert_imp()
107 From from = generate_random<From>(); in test_convert_imp()
138 From from = generate_random<From>(); in test_convert_imp()
Dtest_convert_from_float128.cpp42 T generate_random() in generate_random() function
80 From from = generate_random<From>(); in test_convert_imp()
108 From from = generate_random<From>(); in test_convert_imp()
138 From from = generate_random<From>(); in test_convert_imp()
Dtest_convert_from_mpfi_float.cpp42 T generate_random() in generate_random() function
82 From from = generate_random<From>(); in test_convert_imp()
110 From from = generate_random<From>(); in test_convert_imp()
140 From from = generate_random<From>(); in test_convert_imp()
Dtest_convert_from_tom_int.cpp39 T generate_random(unsigned bits_wanted) in generate_random() function
94 From from = generate_random<From>(bits_wanted); in test_convert_imp()
124 From from = generate_random<From>(bits_wanted); in test_convert_imp()
155 From from = generate_random<From>(bits_wanted); in test_convert_imp()
Dtest_convert_from_mpz_int.cpp39 T generate_random(unsigned bits_wanted) in generate_random() function
94 From from = generate_random<From>(bits_wanted); in test_convert_imp()
124 From from = generate_random<From>(bits_wanted); in test_convert_imp()
155 From from = generate_random<From>(bits_wanted); in test_convert_imp()
Dtest_cpp_rat_serial.cpp32 T generate_random(unsigned bits_wanted) in generate_random() function
131 …T val(generate_random<typename component_type<T>::type>(d(gen)), generate_random<typename componen… in test()
Dtest_convert_from_gmp_rational.cpp74 T generate_random(unsigned bits_wanted) in generate_random() function
103 From from = generate_random<From>(bits_wanted); in test_convert_imp()
135 From from = generate_random<From>(bits_wanted); in test_convert_imp()
168 From from = generate_random<From>(bits_wanted); in test_convert_imp()
Dtest_convert_from_cpp_rational.cpp74 T generate_random(unsigned bits_wanted) in generate_random() function
103 From from = generate_random<From>(bits_wanted); in test_convert_imp()
135 From from = generate_random<From>(bits_wanted); in test_convert_imp()
168 From from = generate_random<From>(bits_wanted); in test_convert_imp()
Dtest_convert_from_tom_rational.cpp74 T generate_random(unsigned bits_wanted) in generate_random() function
103 From from = generate_random<From>(bits_wanted); in test_convert_imp()
135 From from = generate_random<From>(bits_wanted); in test_convert_imp()
168 From from = generate_random<From>(bits_wanted); in test_convert_imp()
Dtest_convert_from_cpp_int.cpp39 T generate_random(unsigned bits_wanted) in generate_random() function
94 From from = generate_random<From>(bits_wanted); in test_convert_imp()
124 From from = generate_random<From>(bits_wanted); in test_convert_imp()
155 From from = generate_random<From>(bits_wanted); in test_convert_imp()
Dtest_cpp_int_left_shift.cpp29 T generate_random(unsigned bits_wanted) in generate_random() function
91 test_value(generate_random<mp_type>(std::numeric_limits<mp_type>::digits)); in test()
Dtest_fixed_int.cpp21 T generate_random(unsigned bits_wanted) in generate_random() function
62 mpz_int a = generate_random<mpz_int>(1000); in main()
63 mpz_int b = generate_random<mpz_int>(512); in main()
64 mpz_int c = generate_random<mpz_int>(256); in main()
65 mpz_int d = generate_random<mpz_int>(32); in main()
Dtest_rational_io.cpp45 T generate_random() in generate_random() function
125 T val = generate_random<T>(); in test_round_trip()
Dtest_adapt_serial.cpp34 T generate_random(unsigned bits_wanted) in generate_random() function
131 T val = generate_random<T>(d(gen)); in test()
Dtest_cpp_int_serial.cpp32 T generate_random(unsigned bits_wanted) in generate_random() function
116 T val = generate_random<T>(d(gen)); in test()
Dtest_float_serial.hpp26 T generate_random(unsigned /*bits_wanted*/) in generate_random() function
52 T val = generate_random<T>(boost::math::tools::digits<T>()); in test()
Dtest_int_io.cpp62 T generate_random() in generate_random() function
142 T val = generate_random<T>(); in test_round_trip()
/third_party/libnl/tests/
Dcheck-ematch-tree-clone.c38 static long int generate_random(long int max) in generate_random() function
57 num = generate_random(MAX_CHILDREN + 1); in build_children()
/third_party/boost/libs/math/reporting/performance/
Dtest_polynomial.cpp29 b.push_back(generate_random(false)); in tester()
30 c.push_back(generate_random(false)); in tester()
31 small.push_back(generate_random(true)); in tester()
207 T generate_random(bool issmall) in generate_random() function
/third_party/boost/libs/multiprecision/performance/
Dperformance_test.hpp79 b.push_back(generate_random()); in tester()
80 c.push_back(generate_random()); in tester()
485 T generate_random() in generate_random() function
487 return generate_random(boost::mpl::int_<Type>()); in generate_random()
489 T generate_random(const boost::mpl::int_<boost::multiprecision::number_kind_floating_point>&) in generate_random() function
506 T generate_random(const boost::mpl::int_<boost::multiprecision::number_kind_integer>&) in generate_random() function
538 T generate_random(const boost::mpl::int_<boost::multiprecision::number_kind_rational>&) in generate_random() function

12