Home
last modified time | relevance | path

Searched refs:interval_lib (Results 1 – 25 of 50) sorted by relevance

12

/third_party/boost/boost/numeric/interval/
Darith.hpp37 if (interval_lib::detail::test_input(x)) in operator -()
45 if (interval_lib::detail::test_input(*this, r)) in operator +=()
57 if (interval_lib::detail::test_input(*this, r)) in operator +=()
69 if (interval_lib::detail::test_input(*this, r)) in operator -=()
81 if (interval_lib::detail::test_input(*this, r)) in operator -=()
118 if (interval_lib::detail::test_input(x, y)) in operator +()
128 if (interval_lib::detail::test_input(x, y)) in operator +()
143 if (interval_lib::detail::test_input(x, y)) in operator -()
153 if (interval_lib::detail::test_input(x, y)) in operator -()
163 if (interval_lib::detail::test_input(x, y)) in operator -()
[all …]
Dtransc.hpp31 if (interval_lib::detail::test_input(x)) in exp()
41 if (interval_lib::detail::test_input(x) || in log()
42 !interval_lib::user::is_pos(x.upper())) in log()
46 T l = !interval_lib::user::is_pos(x.lower()) in log()
54 if (interval_lib::detail::test_input(x)) in cos()
58 typedef typename interval_lib::unprotect<I>::type R; in cos()
61 const R pi2 = interval_lib::pi_twice<R>(); in cos()
65 if (tmp.lower() >= interval_lib::constants::pi_upper<T>()) in cos()
66 return -cos(tmp - interval_lib::pi<R>()); in cos()
72 if (u <= interval_lib::constants::pi_lower<T>()) in cos()
[all …]
Darith2.hpp35 if (interval_lib::detail::test_input(x, y)) in fmod()
38 typedef typename interval_lib::unprotect<interval<T, Policies> >::type I; in fmod()
39 T const &yb = interval_lib::user::is_neg(x.lower()) ? y.lower() : y.upper(); in fmod()
47 if (interval_lib::detail::test_input(x, y)) in fmod()
50 typedef typename interval_lib::unprotect<interval<T, Policies> >::type I; in fmod()
58 if (interval_lib::detail::test_input(x, y)) in fmod()
61 typedef typename interval_lib::unprotect<interval<T, Policies> >::type I; in fmod()
62 T const &yb = interval_lib::user::is_neg(x) ? y.lower() : y.upper(); in fmod()
67 namespace interval_lib { namespace
161 using interval_lib::detail::pow_dn; in pow()
[all …]
Dutility.hpp66 if (interval_lib::detail::test_input(x)) return static_cast<T>(0); in width()
74 if (interval_lib::detail::test_input(x)) { in median()
85 if (interval_lib::detail::test_input(x)) in widen()
99 return interval_lib::detail::test_input(x); in empty()
105 if (interval_lib::detail::test_input(x)) return false; in zero_in()
106 return (!interval_lib::user::is_pos(x.lower())) && in zero_in()
107 (!interval_lib::user::is_neg(x.upper())); in zero_in()
119 if (interval_lib::detail::test_input(x, y)) return false; in in()
145 if (interval_lib::detail::test_input(x, y)) return false; in overlap()
169 if (interval_lib::detail::test_input(x, y)) in intersect()
[all …]
Dinterval.hpp20 namespace interval_lib { namespace
109 throw interval_lib::comparison_error(); in interval_holder()
121 throw interval_lib::comparison_error(); in number_holder()
330 throw interval_lib::comparison_error(); in operator <()
340 throw interval_lib::comparison_error(); in operator >()
350 throw interval_lib::comparison_error(); in operator <=()
360 throw interval_lib::comparison_error(); in operator >=()
370 throw interval_lib::comparison_error(); in operator ==()
380 throw interval_lib::comparison_error(); in operator !=()
394 throw interval_lib::comparison_error(); in operator <()
[all …]
Dhw_rounding.hpp47 namespace interval_lib { namespace
Dpolicies.hpp17 namespace interval_lib { namespace
/third_party/boost/boost/numeric/interval/detail/
Ddivision.hpp21 namespace interval_lib { namespace
35 if (::boost::numeric::interval_lib::user::is_neg(xu)) in div_non_zero()
36 if (::boost::numeric::interval_lib::user::is_neg(yu)) in div_non_zero()
40 else if (::boost::numeric::interval_lib::user::is_neg(xl)) in div_non_zero()
41 if (::boost::numeric::interval_lib::user::is_neg(yu)) in div_non_zero()
46 if (::boost::numeric::interval_lib::user::is_neg(yu)) in div_non_zero()
60 if (::boost::numeric::interval_lib::user::is_neg(x)) in div_non_zero()
70 if (::boost::numeric::interval_lib::user::is_zero(x.lower()) && in div_positive()
71 ::boost::numeric::interval_lib::user::is_zero(x.upper())) in div_positive()
78 if (::boost::numeric::interval_lib::user::is_neg(xu)) in div_positive()
[all …]
Dinterval_prototype.hpp16 namespace interval_lib { namespace
35 template<class T, class Policies = typename interval_lib::default_policies<T>::type >
Dc99_rounding_control.hpp18 namespace interval_lib { namespace
Dc99sub_rounding_control.hpp18 namespace interval_lib { namespace
Dbcc_rounding_control.hpp26 namespace interval_lib { namespace
Dx86gcc_rounding_control.hpp24 namespace interval_lib { namespace
Dia64_rounding_control.hpp23 namespace interval_lib { namespace
Dx86_rounding_control.hpp29 namespace interval_lib { namespace
/third_party/boost/libs/numeric/interval/test/
Dcmp_header.hpp19 typedef boost::numeric::interval_lib::policies
20 <empty_class, boost::numeric::interval_lib::checking_base<int> >
26 BOOST_CHECK_THROW(e, boost::numeric::interval_lib::comparison_error)
Dcmp_exn.cpp29 typedef boost::numeric::interval_lib::policies< empty_class, my_checking >
35 BOOST_CHECK_THROW(e, boost::numeric::interval_lib::comparison_error)
41 using namespace boost::numeric::interval_lib::compare::certain; in test_cer()
106 using namespace boost::numeric::interval_lib::compare::lexicographic; in test_lex()
139 using namespace boost::numeric::interval_lib::compare::possible; in test_pos()
172 using namespace boost::numeric::interval_lib::compare::set; in test_set()
192 using namespace boost::numeric::interval_lib::compare::tribool; in test_tri()
Dpi.cpp23 using boost::numeric::interval_lib::pi;
24 using boost::numeric::interval_lib::pi_half;
25 using boost::numeric::interval_lib::pi_twice;
Dbugs.hpp24 using namespace boost::numeric::interval_lib::constants; in ignore_warnings()
41 using namespace interval_lib;
Dadd.cpp105 namespace interval_lib { namespace
211 typedef boost::numeric::interval_lib::save_state<Rounding> my_rounding;
212 typedef boost::numeric::interval_lib::policies<my_rounding, my_checking> my_policies;
218 typedef my_interval<boost::numeric::interval_lib::rounded_arith_std<pexpr> >::type I1; in test_main()
219 typedef my_interval<boost::numeric::interval_lib::rounded_arith_opp<pexpr> >::type I2; in test_main()
Dfmod.cpp34 using namespace interval_lib;
/third_party/boost/libs/numeric/interval/examples/
Dfilter.cpp21 using namespace interval_lib;
62 typedef boost::numeric::interval_lib::unprotect<I_dbl>::type I; in det_sign_algo1()
94 if (boost::numeric::interval_lib::cerlt(pivot, 0.)) sig = -sig; in det_sign_algo1()
170 typedef boost::numeric::interval_lib::unprotect<I_dbl>::type I; in det_sign_algo2()
180 using boost::numeric::interval_lib::mul; in det_sign_algo2()
Dtransc.cpp20 boost::numeric::interval_lib::rounded_arith_opp<double>
55 using namespace interval_lib;
Dhorner.cpp22 typedef typename boost::numeric::interval_lib::unprotect<I>::type R; in horner()
/third_party/boost/boost/numeric/interval/ext/
Dx86_fast_rounding_control.hpp22 namespace interval_lib { namespace

12