Home
last modified time | relevance | path

Searched refs:bits_per_r_val (Results 1 – 17 of 17) sorted by relevance

/third_party/boost/libs/multiprecision/test/
Dtest_cpp_int_left_shift.cpp47 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() local
48 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
49 --bits_per_r_val; in generate_random()
51 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random()
Dtest_unchecked_cpp_int.cpp38 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() local
39 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
40 --bits_per_r_val; in generate_random()
42 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random()
Dtest_cpp_rat_serial.cpp50 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() local
51 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
52 --bits_per_r_val; in generate_random()
54 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random()
Dtest_adapt_serial.cpp52 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() local
53 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
54 --bits_per_r_val; in generate_random()
56 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random()
Dtest_cpp_int_serial.cpp50 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() local
51 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
52 --bits_per_r_val; in generate_random()
54 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random()
Dtest_convert_from_tom_int.cpp57 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() local
58 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
59 --bits_per_r_val; in generate_random()
61 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random()
Dtest_convert_from_mpz_int.cpp57 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() local
58 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
59 --bits_per_r_val; in generate_random()
61 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random()
Dtest_convert_from_gmp_rational.cpp57 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random_int() local
58 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random_int()
59 --bits_per_r_val; in generate_random_int()
61 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random_int()
Dtest_checked_cpp_int.cpp38 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() local
39 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
40 --bits_per_r_val; in generate_random()
42 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random()
Dtest_convert_from_cpp_rational.cpp57 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random_int() local
58 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random_int()
59 --bits_per_r_val; in generate_random_int()
61 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random_int()
Dtest_convert_from_tom_rational.cpp57 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random_int() local
58 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random_int()
59 --bits_per_r_val; in generate_random_int()
61 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random_int()
Dtest_convert_from_cpp_int.cpp57 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() local
58 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
59 --bits_per_r_val; in generate_random()
61 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random()
Dtest_cpp_int_karatsuba.cpp54 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() local
55 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
56 --bits_per_r_val; in generate_random()
58 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random()
Dtest_fixed_int.cpp39 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() local
40 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
41 --bits_per_r_val; in generate_random()
43 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random()
Dtest_cpp_int.cpp59 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() local
60 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
61 --bits_per_r_val; in generate_random()
63 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random()
/third_party/boost/libs/multiprecision/performance/
Dperformance_test.hpp523 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() local
524 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
525 --bits_per_r_val; in generate_random()
527 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random()
556 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() local
557 while ((random_type(1) << bits_per_r_val) > (gen.max)()) in generate_random()
558 --bits_per_r_val; in generate_random()
560 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random()
/third_party/boost/libs/math/reporting/performance/
Dtest_gcd.cpp258 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() local
259 while((random_type(1) << bits_per_r_val) > (gen.max)()) --bits_per_r_val; in generate_random()
261 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random()