/dports/math/piranha/piranha-0.11/tests/ |
H A D | safe_integral_adder.cpp | 47 int_type a; in BOOST_AUTO_TEST_CASE() 70 int_type a; in BOOST_AUTO_TEST_CASE() 93 int_type a; in BOOST_AUTO_TEST_CASE() 116 int_type a; in BOOST_AUTO_TEST_CASE() 131 … detail::safe_integral_adder(a, int_type(std::numeric_limits<int_type>::max() - int_type(1))); in BOOST_AUTO_TEST_CASE() 137 int_type a; in BOOST_AUTO_TEST_CASE() 152 … detail::safe_integral_adder(a, int_type(std::numeric_limits<int_type>::max() - int_type(1))); in BOOST_AUTO_TEST_CASE() 158 int_type a; in BOOST_AUTO_TEST_CASE() 173 … detail::safe_integral_adder(a, int_type(std::numeric_limits<int_type>::max() - int_type(1))); in BOOST_AUTO_TEST_CASE() 183 int_type a; in BOOST_AUTO_TEST_CASE() [all …]
|
H A D | mp_integer_03.cpp | 808 int_type::_divexact(out, int_type{}, n1n2); in operator ()() 965 … BOOST_CHECK_THROW(int_type::divrem(q, r, int_type(1), int_type(0)), zero_division_error); in operator ()() 1008 int_type::divrem(q, r, a, int_type(1)); in operator ()() 1011 int_type::divrem(q, r, a, int_type(-1)); in operator ()() 1351 math::divexact(out, int_type(4), int_type(-2)); in operator ()() 1353 math::divexact(out, int_type(0), int_type(-2)); in operator ()() 1469 int_type n(int_type{tmp} * tmp), m(n); in operator ()() 1492 int_type n(int_type{tmp} * tmp), m(n); in operator ()() 1514 int_type n(int_type{tmp} * tmp), m(n); in operator ()() 1537 int_type n(int_type{tmp} * tmp), m(n); in operator ()() [all …]
|
H A D | mp_integer_01.cpp | 114 int_type n; in operator ()() 120 int_type m; in operator ()() 253 int_type n1; in operator ()() 264 int_type n2; in operator ()() 312 int_type n; in operator ()() 335 int_type n; in operator ()() 361 BOOST_CHECK_EQUAL(int_type{}, int_type{}); in operator ()() 362 BOOST_CHECK(!(int_type{} < int_type{})); in operator ()() 363 BOOST_CHECK(int_type{} >= int_type{}); in operator ()() 600 int_type n; in operator ()() [all …]
|
H A D | mp_integer_05.cpp | 67 using int_type = mp_integer<S::value>; in operator ()() typedef 69 BOOST_CHECK((has_safe_cast<int_type, T>::value)); in operator ()() 77 BOOST_CHECK_EQUAL(safe_cast<int_type>(T(0)), int_type{0}); in operator ()() 78 BOOST_CHECK_EQUAL(safe_cast<int_type>(T(-1)), int_type{-1}); in operator ()() 79 BOOST_CHECK_EQUAL(safe_cast<int_type>(T(1)), int_type{1}); in operator ()() 120 using int_type = mp_integer<S::value>; in operator ()() typedef 122 BOOST_CHECK((has_safe_cast<int_type, T>::value)); in operator ()() 126 BOOST_CHECK((has_safe_cast<T, int_type>::value)); in operator ()() 132 BOOST_CHECK_EQUAL(safe_cast<int_type>(T(0)), int_type{0}); in operator ()() 133 BOOST_CHECK_EQUAL(safe_cast<int_type>(T(1)), int_type{1}); in operator ()() [all …]
|
/dports/math/py-piranha/piranha-0.11/tests/ |
H A D | safe_integral_adder.cpp | 47 int_type a; 70 int_type a; 93 int_type a; 116 int_type a; 131 … detail::safe_integral_adder(a, int_type(std::numeric_limits<int_type>::max() - int_type(1))); 137 int_type a; 152 … detail::safe_integral_adder(a, int_type(std::numeric_limits<int_type>::max() - int_type(1))); 158 int_type a; 173 … detail::safe_integral_adder(a, int_type(std::numeric_limits<int_type>::max() - int_type(1))); 183 int_type a; [all …]
|
H A D | mp_integer_03.cpp | 808 int_type::_divexact(out, int_type{}, n1n2); 965 … BOOST_CHECK_THROW(int_type::divrem(q, r, int_type(1), int_type(0)), zero_division_error); 1008 int_type::divrem(q, r, a, int_type(1)); 1011 int_type::divrem(q, r, a, int_type(-1)); 1351 math::divexact(out, int_type(4), int_type(-2)); 1353 math::divexact(out, int_type(0), int_type(-2)); 1469 int_type n(int_type{tmp} * tmp), m(n); 1492 int_type n(int_type{tmp} * tmp), m(n); 1514 int_type n(int_type{tmp} * tmp), m(n); 1537 int_type n(int_type{tmp} * tmp), m(n); [all …]
|
H A D | mp_integer_01.cpp | 114 int_type n; in operator ()() 120 int_type m; in operator ()() 253 int_type n1; in operator ()() 264 int_type n2; in operator ()() 312 int_type n; in operator ()() 335 int_type n; in operator ()() 361 BOOST_CHECK_EQUAL(int_type{}, int_type{}); in operator ()() 362 BOOST_CHECK(!(int_type{} < int_type{})); in operator ()() 363 BOOST_CHECK(int_type{} >= int_type{}); in operator ()() 600 int_type n; in operator ()() [all …]
|
H A D | mp_integer_05.cpp | 67 using int_type = mp_integer<S::value>; in operator ()() typedef 69 BOOST_CHECK((has_safe_cast<int_type, T>::value)); in operator ()() 77 BOOST_CHECK_EQUAL(safe_cast<int_type>(T(0)), int_type{0}); in operator ()() 78 BOOST_CHECK_EQUAL(safe_cast<int_type>(T(-1)), int_type{-1}); in operator ()() 79 BOOST_CHECK_EQUAL(safe_cast<int_type>(T(1)), int_type{1}); in operator ()() 120 using int_type = mp_integer<S::value>; in operator ()() typedef 122 BOOST_CHECK((has_safe_cast<int_type, T>::value)); in operator ()() 126 BOOST_CHECK((has_safe_cast<T, int_type>::value)); in operator ()() 132 BOOST_CHECK_EQUAL(safe_cast<int_type>(T(0)), int_type{0}); in operator ()() 133 BOOST_CHECK_EQUAL(safe_cast<int_type>(T(1)), int_type{1}); in operator ()() [all …]
|
/dports/biology/lamarc/lamarc-2.1.8/boost/date_time/ |
H A D | wrapping_int.hpp | 46 int_type add(int_type v) in add() 48 int_type remainder = static_cast<int_type>(v % (wrap_val)); in add() 49 int_type overflow = static_cast<int_type>(v / (wrap_val)); in add() 59 int_type subtract(int_type v) in subtract() 61 int_type remainder = static_cast<int_type>(v % (wrap_val)); in subtract() 62 int_type underflow = static_cast<int_type>(-(v / (wrap_val))); in subtract() 67 int_type value_; 69 int_type calculate_wrap(int_type wrap) in calculate_wrap() 117 int_type add(int_type v) in add() 129 int_type subtract(int_type v) in subtract() [all …]
|
/dports/devel/boost-docs/boost_1_72_0/libs/date_time/test/ |
H A D | testint_adapter.cpp | 14 template<typename int_type> 32 int_type i = int_type::neg_infinity(); in print() 37 i = int_type::pos_infinity(); in print() 58 template<typename int_type> 61 int_type i = int_type::neg_infinity(); in test_int() 67 int_type h = int_type::neg_infinity(); in test_int() 81 int_type j = int_type::neg_infinity(); in test_int() 90 int_type k = 1; in test_int() 95 int_type l = i + int_type::pos_infinity(); in test_int() 99 int_type m = i - int_type::pos_infinity(); in test_int() [all …]
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/date_time/test/ |
H A D | testint_adapter.cpp | 14 template<typename int_type> 32 int_type i = int_type::neg_infinity(); in print() 37 i = int_type::pos_infinity(); in print() 58 template<typename int_type> 61 int_type i = int_type::neg_infinity(); in test_int() 67 int_type h = int_type::neg_infinity(); in test_int() 81 int_type j = int_type::neg_infinity(); in test_int() 90 int_type k = 1; in test_int() 95 int_type l = i + int_type::pos_infinity(); in test_int() 99 int_type m = i - int_type::pos_infinity(); in test_int() [all …]
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/date_time/test/ |
H A D | testint_adapter.cpp | 14 template<typename int_type> 32 int_type i = int_type::neg_infinity(); in print() 37 i = int_type::pos_infinity(); in print() 58 template<typename int_type> 61 int_type i = int_type::neg_infinity(); in test_int() 67 int_type h = int_type::neg_infinity(); in test_int() 81 int_type j = int_type::neg_infinity(); in test_int() 90 int_type k = 1; in test_int() 95 int_type l = i + int_type::pos_infinity(); in test_int() 99 int_type l = i - int_type::pos_infinity(); in test_int() [all …]
|
/dports/databases/percona57-server/boost_1_59_0/libs/date_time/test/ |
H A D | testint_adapter.cpp | 14 template<typename int_type> 32 int_type i = int_type::neg_infinity(); in print() 37 i = int_type::pos_infinity(); in print() 58 template<typename int_type> 61 int_type i = int_type::neg_infinity(); in test_int() 67 int_type h = int_type::neg_infinity(); in test_int() 81 int_type j = int_type::neg_infinity(); in test_int() 90 int_type k = 1; in test_int() 95 int_type l = i + int_type::pos_infinity(); in test_int() 99 int_type l = i - int_type::pos_infinity(); in test_int() [all …]
|
/dports/databases/xtrabackup/boost_1_59_0/libs/date_time/test/ |
H A D | testint_adapter.cpp | 14 template<typename int_type> 32 int_type i = int_type::neg_infinity(); in print() 37 i = int_type::pos_infinity(); in print() 58 template<typename int_type> 61 int_type i = int_type::neg_infinity(); in test_int() 67 int_type h = int_type::neg_infinity(); in test_int() 81 int_type j = int_type::neg_infinity(); in test_int() 90 int_type k = 1; in test_int() 95 int_type l = i + int_type::pos_infinity(); in test_int() 99 int_type l = i - int_type::pos_infinity(); in test_int() [all …]
|
/dports/databases/percona57-client/boost_1_59_0/libs/date_time/test/ |
H A D | testint_adapter.cpp | 14 template<typename int_type> 32 int_type i = int_type::neg_infinity(); in print() 37 i = int_type::pos_infinity(); in print() 58 template<typename int_type> 61 int_type i = int_type::neg_infinity(); in test_int() 67 int_type h = int_type::neg_infinity(); in test_int() 81 int_type j = int_type::neg_infinity(); in test_int() 90 int_type k = 1; in test_int() 95 int_type l = i + int_type::pos_infinity(); in test_int() 99 int_type l = i - int_type::pos_infinity(); in test_int() [all …]
|
/dports/devel/boost-libs/boost_1_72_0/libs/date_time/test/ |
H A D | testint_adapter.cpp | 14 template<typename int_type> 32 int_type i = int_type::neg_infinity(); in print() 37 i = int_type::pos_infinity(); in print() 58 template<typename int_type> 61 int_type i = int_type::neg_infinity(); in test_int() 67 int_type h = int_type::neg_infinity(); in test_int() 81 int_type j = int_type::neg_infinity(); in test_int() 90 int_type k = 1; in test_int() 95 int_type l = i + int_type::pos_infinity(); in test_int() 99 int_type m = i - int_type::pos_infinity(); in test_int() [all …]
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/date_time/test/ |
H A D | testint_adapter.cpp | 14 template<typename int_type> 32 int_type i = int_type::neg_infinity(); in print() 37 i = int_type::pos_infinity(); in print() 58 template<typename int_type> 61 int_type i = int_type::neg_infinity(); in test_int() 67 int_type h = int_type::neg_infinity(); in test_int() 81 int_type j = int_type::neg_infinity(); in test_int() 90 int_type k = 1; in test_int() 95 int_type l = i + int_type::pos_infinity(); in test_int() 99 int_type l = i - int_type::pos_infinity(); in test_int() [all …]
|
/dports/devel/hyperscan/boost_1_75_0/libs/date_time/test/ |
H A D | testint_adapter.cpp | 14 template<typename int_type> 32 int_type i = int_type::neg_infinity(); in print() 37 i = int_type::pos_infinity(); in print() 58 template<typename int_type> 61 int_type i = int_type::neg_infinity(); in test_int() 67 int_type h = int_type::neg_infinity(); in test_int() 81 int_type j = int_type::neg_infinity(); in test_int() 90 int_type k = 1; in test_int() 95 int_type l = i + int_type::pos_infinity(); in test_int() 99 int_type m = i - int_type::pos_infinity(); in test_int() [all …]
|
/dports/devel/stxxl/stxxl-1.4.1/lib/algo/ |
H A D | async_schedule.cpp | 42 int_type timestamp; 43 int_type iblock; 44 inline sim_event(int_type t, int_type b) : timestamp(t), iblock(b) { } in sim_event() 55 typedef std::pair<int_type, int_type> write_time_pair; 64 static inline int_type get_disk(int_type i, const int_type* disks, int_type D) in get_disk() 75 const int_type L, in simulate_async_write() 77 const int_type D, in simulate_async_write() 78 std::pair<int_type, int_type>* o_time) in simulate_async_write() argument 172 int_type m, in compute_prefetch_schedule() 173 int_type D) in compute_prefetch_schedule() [all …]
|
/dports/devel/hyperscan/boost_1_75_0/boost/date_time/ |
H A D | int_adapter.hpp | 48 typedef int_type_ int_type; typedef in boost::date_time::int_adapter 49 BOOST_CXX14_CONSTEXPR int_adapter(int_type v) : in int_adapter() 87 static BOOST_CONSTEXPR bool is_inf(int_type v) in is_inf() 114 static BOOST_CONSTEXPR int_type maxcount() in maxcount() 189 BOOST_CONSTEXPR int_type as_number() const in as_number() 234 return int_adapter<int_type>(value_ + static_cast<int_type>(rhs.as_number())); in operator +() 251 return int_adapter<int_type>(value_ + rhs); in operator +() 284 return int_adapter<int_type>(value_ - static_cast<int_type>(rhs.as_number())); in operator -() 301 return int_adapter<int_type>(value_ - rhs); in operator -() 324 return int_adapter<int_type>(value_ * rhs); in operator *() [all …]
|
/dports/math/pdal/PDAL-2.3.0/vendor/pdalboost/boost/date_time/ |
H A D | int_adapter.hpp | 42 typedef int_type_ int_type; typedef in pdalboost::date_time::int_adapter 43 int_adapter(int_type v) : in int_adapter() 81 static bool is_inf(int_type v) in is_inf() 86 static bool is_neg_inf(int_type v) in is_neg_inf() 90 static bool is_pos_inf(int_type v) in is_pos_inf() 94 static bool is_not_a_number(int_type v) in is_not_a_number() 108 static int_type maxcount() in maxcount() 188 int_type as_number() const in as_number() 233 return int_adapter<int_type>(value_ + static_cast<int_type>(rhs.as_number())); in operator +() 282 return int_adapter<int_type>(value_ - static_cast<int_type>(rhs.as_number())); in operator -() [all …]
|
/dports/science/py-scipy/scipy-1.7.1/scipy/_lib/boost/boost/date_time/ |
H A D | int_adapter.hpp | 48 typedef int_type_ int_type; typedef in boost::date_time::int_adapter 49 BOOST_CXX14_CONSTEXPR int_adapter(int_type v) : in int_adapter() 87 static BOOST_CONSTEXPR bool is_inf(int_type v) in is_inf() 114 static BOOST_CONSTEXPR int_type maxcount() in maxcount() 189 BOOST_CONSTEXPR int_type as_number() const in as_number() 234 return int_adapter<int_type>(value_ + static_cast<int_type>(rhs.as_number())); in operator +() 251 return int_adapter<int_type>(value_ + rhs); in operator +() 284 return int_adapter<int_type>(value_ - static_cast<int_type>(rhs.as_number())); in operator -() 301 return int_adapter<int_type>(value_ - rhs); in operator -() 324 return int_adapter<int_type>(value_ * rhs); in operator *() [all …]
|
/dports/devel/R-cran-BH/BH/inst/include/boost/date_time/ |
H A D | int_adapter.hpp | 48 typedef int_type_ int_type; typedef in boost::date_time::int_adapter 49 BOOST_CXX14_CONSTEXPR int_adapter(int_type v) : in int_adapter() 87 static BOOST_CONSTEXPR bool is_inf(int_type v) in is_inf() 114 static BOOST_CONSTEXPR int_type maxcount() in maxcount() 189 BOOST_CONSTEXPR int_type as_number() const in as_number() 234 return int_adapter<int_type>(value_ + static_cast<int_type>(rhs.as_number())); in operator +() 251 return int_adapter<int_type>(value_ + rhs); in operator +() 284 return int_adapter<int_type>(value_ - static_cast<int_type>(rhs.as_number())); in operator -() 301 return int_adapter<int_type>(value_ - rhs); in operator -() 324 return int_adapter<int_type>(value_ * rhs); in operator *() [all …]
|
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/boost/date_time/ |
H A D | int_adapter.hpp | 48 typedef int_type_ int_type; typedef in boost::date_time::int_adapter 49 BOOST_CXX14_CONSTEXPR int_adapter(int_type v) : in int_adapter() 87 static BOOST_CONSTEXPR bool is_inf(int_type v) in is_inf() 114 static BOOST_CONSTEXPR int_type maxcount() in maxcount() 189 BOOST_CONSTEXPR int_type as_number() const in as_number() 234 return int_adapter<int_type>(value_ + static_cast<int_type>(rhs.as_number())); in operator +() 251 return int_adapter<int_type>(value_ + rhs); in operator +() 284 return int_adapter<int_type>(value_ - static_cast<int_type>(rhs.as_number())); in operator -() 301 return int_adapter<int_type>(value_ - rhs); in operator -() 324 return int_adapter<int_type>(value_ * rhs); in operator *() [all …]
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/bundled/boost-1.70.0/include/boost/date_time/ |
H A D | int_adapter.hpp | 48 typedef int_type_ int_type; typedef in boost::date_time::int_adapter 49 int_adapter(int_type v) : in int_adapter() 87 static bool is_inf(int_type v) in is_inf() 92 static bool is_neg_inf(int_type v) in is_neg_inf() 96 static bool is_pos_inf(int_type v) in is_pos_inf() 100 static bool is_not_a_number(int_type v) in is_not_a_number() 114 static int_type maxcount() in maxcount() 189 int_type as_number() const in as_number() 234 return int_adapter<int_type>(value_ + static_cast<int_type>(rhs.as_number())); in operator +() 283 return int_adapter<int_type>(value_ - static_cast<int_type>(rhs.as_number())); in operator -() [all …]
|