/third_party/boost/libs/multiprecision/test/ |
D | test_cpp_int_karatsuba.cpp | 36 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()
|
D | test_unchecked_cpp_int.cpp | 20 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()
|
D | test_convert_from_cpp_bin_float.cpp | 40 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()
|
D | test_convert_from_mpfr_float.cpp | 42 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()
|
D | test_convert_from_mpf_float.cpp | 42 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()
|
D | test_convert_from_cpp_dec_float.cpp | 40 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()
|
D | test_convert_from_float128.cpp | 42 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()
|
D | test_convert_from_mpfi_float.cpp | 42 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()
|
D | test_convert_from_tom_int.cpp | 39 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()
|
D | test_convert_from_mpz_int.cpp | 39 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()
|
D | test_cpp_rat_serial.cpp | 32 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()
|
D | test_convert_from_gmp_rational.cpp | 74 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()
|
D | test_convert_from_cpp_rational.cpp | 74 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()
|
D | test_convert_from_tom_rational.cpp | 74 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()
|
D | test_convert_from_cpp_int.cpp | 39 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()
|
D | test_cpp_int_left_shift.cpp | 29 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()
|
D | test_fixed_int.cpp | 21 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()
|
D | test_rational_io.cpp | 45 T generate_random() in generate_random() function 125 T val = generate_random<T>(); in test_round_trip()
|
D | test_adapt_serial.cpp | 34 T generate_random(unsigned bits_wanted) in generate_random() function 131 T val = generate_random<T>(d(gen)); in test()
|
D | test_cpp_int_serial.cpp | 32 T generate_random(unsigned bits_wanted) in generate_random() function 116 T val = generate_random<T>(d(gen)); in test()
|
D | test_float_serial.hpp | 26 T generate_random(unsigned /*bits_wanted*/) in generate_random() function 52 T val = generate_random<T>(boost::math::tools::digits<T>()); in test()
|
D | test_int_io.cpp | 62 T generate_random() in generate_random() function 142 T val = generate_random<T>(); in test_round_trip()
|
/third_party/libnl/tests/ |
D | check-ematch-tree-clone.c | 38 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/ |
D | test_polynomial.cpp | 29 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/ |
D | performance_test.hpp | 79 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
|