Searched refs:BOOST_DN (Results 1 – 1 of 1) sorted by relevance
52 # define BOOST_DN(EXPR) this->downward(); return this->force_rounding(EXPR) macro56 template<class U> T conv_down(U const &v) { BOOST_DN(v); } in conv_down()58 T add_down(const T& x, const T& y) { BOOST_DN(x + y); } in add_down()59 T sub_down(const T& x, const T& y) { BOOST_DN(x - y); } in sub_down()60 T mul_down(const T& x, const T& y) { BOOST_DN(x * y); } in mul_down()61 T div_down(const T& x, const T& y) { BOOST_DN(x / y); } in div_down()68 { BOOST_NUMERIC_INTERVAL_using_math(sqrt); BOOST_DN(sqrt(x)); } in sqrt_down()73 # undef BOOST_DN81 # define BOOST_DN(EXPR) \ macro105 { BOOST_NUMERIC_INTERVAL_using_math(sqrt); BOOST_DN(sqrt(x)); } in sqrt_down()[all …]