Home
last modified time | relevance | path

Searched refs:int_backend (Results 1 – 7 of 7) sorted by relevance

/third_party/boost/libs/multiprecision/test/
Dconstexpr_test_cpp_int_2.cpp22 typedef boost::multiprecision::int128_t int_backend; in main() typedef
26 constexpr int_backend a(22); in main()
28 constexpr int_backend b = test_constexpr_add_subtract(a); in main()
37 BOOST_CHECK_EQUAL(b, non_constexpr_invoke(test_constexpr_add_subtract<int_backend>, a)); in main()
41 constexpr int_backend a(22); in main()
43 constexpr int_backend b = test_constexpr_mul_divide(a); in main()
48 BOOST_CHECK_EQUAL(b, non_constexpr_invoke(test_constexpr_mul_divide<int_backend>, a)); in main()
52 constexpr int_backend a(22); in main()
54 constexpr int_backend b = test_constexpr_bitwise(a); in main()
64 BOOST_CHECK_EQUAL(b, non_constexpr_invoke(test_constexpr_bitwise<int_backend>, a)); in main()
[all …]
Dconstexpr_test_cpp_int_4.cpp18 typedef boost::multiprecision::checked_int128_t int_backend; in main() typedef
22 constexpr int_backend a(22); in main()
24 constexpr int_backend b = test_constexpr_add_subtract(a); in main()
33 BOOST_CHECK_EQUAL(b, non_constexpr_invoke(test_constexpr_add_subtract<int_backend>, a)); in main()
37 constexpr int_backend a(22); in main()
39 constexpr int_backend b = test_constexpr_mul_divide(a); in main()
44 BOOST_CHECK_EQUAL(b, non_constexpr_invoke(test_constexpr_mul_divide<int_backend>, a)); in main()
48 constexpr int_backend a(22); in main()
50 constexpr int_backend b = test_constexpr_bitwise(a); in main()
60 BOOST_CHECK_EQUAL(b, non_constexpr_invoke(test_constexpr_bitwise<int_backend>, a)); in main()
[all …]
Dconstexpr_test_cpp_int.cpp20 typedef boost::multiprecision::int256_t int_backend; in main() typedef
24 constexpr int_backend a(22); in main()
26 constexpr int_backend b = test_constexpr_add_subtract(a); in main()
35 BOOST_CHECK_EQUAL(b, non_constexpr_invoke(test_constexpr_add_subtract<int_backend>, a)); in main()
39 constexpr int_backend a(22); in main()
41 constexpr int_backend b = test_constexpr_mul_divide(a); in main()
46 BOOST_CHECK_EQUAL(b, non_constexpr_invoke(test_constexpr_mul_divide<int_backend>, a)); in main()
50 constexpr int_backend a(22); in main()
52 constexpr int_backend b = test_constexpr_bitwise(a); in main()
62 BOOST_CHECK_EQUAL(b, non_constexpr_invoke(test_constexpr_bitwise<int_backend>, a)); in main()
[all …]
Dconstexpr_test_cpp_int_3.cpp20 typedef boost::multiprecision::checked_int256_t int_backend; in main() typedef
24 constexpr int_backend a(22); in main()
26 constexpr int_backend b = test_constexpr_add_subtract(a); in main()
35 BOOST_CHECK_EQUAL(b, non_constexpr_invoke(test_constexpr_add_subtract<int_backend>, a)); in main()
39 constexpr int_backend a(22); in main()
41 constexpr int_backend b = test_constexpr_mul_divide(a); in main()
46 BOOST_CHECK_EQUAL(b, non_constexpr_invoke(test_constexpr_mul_divide<int_backend>, a)); in main()
50 constexpr int_backend a(22); in main()
52 constexpr int_backend b = test_constexpr_bitwise(a); in main()
62 BOOST_CHECK_EQUAL(b, non_constexpr_invoke(test_constexpr_bitwise<int_backend>, a)); in main()
[all …]
Dconstexpr_test_arithmetic_backend.cpp11 …sion::backends::arithmetic_backend<long long>, boost::multiprecision::et_off> int_backend; in main() typedef
18 constexpr int_backend a(22); in main()
20 constexpr int_backend b = test_constexpr_add_subtract(a); in main()
30 constexpr int_backend a(22); in main()
32 constexpr int_backend b = test_constexpr_mul_divide(a); in main()
38 constexpr int_backend a(22); in main()
40 constexpr int_backend b = test_constexpr_bitwise(a); in main()
51 constexpr int_backend a(22); in main()
53 constexpr int_backend b = test_constexpr_logical(a); in main()
59 constexpr int_backend a(22); in main()
[all …]
Dconstexpr_test_cpp_int_5.cpp102 typedef boost::multiprecision::checked_int1024_t int_backend; in main() typedef
106 constexpr int_backend f1 = factorial(int_backend(31)); in main()
120 constexpr int_backend i1 = big_mul<int_backend>(si1, si2); in main()
121 int_backend nc; in main()
132 constexpr int_backend i1 = big_add<int_backend>(si1, si2); in main()
133 int_backend nc; in main()
144 constexpr int_backend i1 = big_sub<int_backend>(si1, -si2); in main()
145 int_backend nc; in main()
236 constexpr int_backend i(0); in main()
237 constexpr int_backend j = do_bit_set(i, 20); in main()
[all …]
Dconstexpr_test_cpp_int_6.cpp244 typedef boost::multiprecision::checked_int1024_t int_backend; in main() typedef
247 constexpr hermite_polynomial<int_backend, 13> h; in main()