Home
last modified time | relevance | path

Searched defs:rounded_arith_std (Results 1 – 1 of 1) sorted by relevance

/third_party/boost/boost/numeric/interval/
Drounded_arith.hpp51 struct rounded_arith_std: Rounding { struct
55 void init() { } in init()
56 template<class U> T conv_down(U const &v) { BOOST_DN(v); } in conv_down()
57 template<class U> T conv_up (U const &v) { BOOST_UP(v); } in conv_up()
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()
62 T add_up (const T& x, const T& y) { BOOST_UP(x + y); } in add_up()
63 T sub_up (const T& x, const T& y) { BOOST_UP(x - y); } in sub_up()
[all …]