Home
last modified time | relevance | path

Searched refs:div_down (Results 1 – 8 of 8) sorted by relevance

/third_party/boost/boost/numeric/interval/detail/
Ddivision.hpp37 return I(rnd.div_down(xu, yl), rnd.div_up(xl, yu), true); in div_non_zero()
39 return I(rnd.div_down(xl, yl), rnd.div_up(xu, yu), true); in div_non_zero()
42 return I(rnd.div_down(xu, yu), rnd.div_up(xl, yu), true); in div_non_zero()
44 return I(rnd.div_down(xl, yl), rnd.div_up(xu, yl), true); in div_non_zero()
47 return I(rnd.div_down(xu, yu), rnd.div_up(xl, yl), true); in div_non_zero()
49 return I(rnd.div_down(xl, yu), rnd.div_up(xu, yl), true); in div_non_zero()
61 return I(rnd.div_down(x, yl), rnd.div_up(x, yu), true); in div_non_zero()
63 return I(rnd.div_down(x, yu), rnd.div_up(x, yl), true); in div_non_zero()
83 return I(rnd.div_down(xl, yu), checking::pos_inf(), true); in div_positive()
98 return I(rnd.div_down(x, yu), checking::pos_inf(), true); in div_positive()
[all …]
/third_party/boost/boost/numeric/interval/
Darith2.hpp40 T n = rnd.int_down(rnd.div_down(x.lower(), yb)); in fmod()
51 T n = rnd.int_down(rnd.div_down(x.lower(), y)); in fmod()
63 T n = rnd.int_down(rnd.div_down(x, yb)); in fmod()
117 return I(rnd.div_down(one, x.upper()), checking::pos_inf(), true); in multiplicative_inverse()
121 return I(rnd.div_down(one, x.upper()), rnd.div_up(one, x.lower()), true); in multiplicative_inverse()
251 return rnd.div_down(one, root_aux<I>(rnd.div_up(one, x), k).upper()); in root_aux_dn()
263 return rnd.div_up(one, root_aux<I>(rnd.div_down(one, x), k).lower()); in root_aux_up()
Drounded_arith.hpp37 T div_down (const T& x, const T& y) { return x / y; } in div_down() function
61 T div_down(const T& x, const T& y) { BOOST_DN(x / y); } in div_down() function
98 T div_down(const T& x, const T& y) { BOOST_UP_NEG(x / (-y)); } in div_down() function
Darith3.hpp62 return I(rnd.div_down(x, y), rnd.div_up(x, y), true); in div()
Darith.hpp297 return interval<T, Policies>(rnd.div_down(xu, y), rnd.div_up(xl, y), true); in operator /()
299 return interval<T, Policies>(rnd.div_down(xl, y), rnd.div_up(xu, y), true); in operator /()
/third_party/boost/libs/numeric/interval/test/
Dfmod.cpp25 int div_down(int x, int y) { in div_down() function
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_video.c221 static int div_down(int val, int mult) { in div_down() function
244 mv_vertical = div_down(mv_vertical, 2); in nouveau_vpe_mb_mv()
260 mc_vector |= pos(x, div_down(mv_horizontal, 2), width); in nouveau_vpe_mb_mv()
264 mc_vector |= pos(y, div_down(mv_vertical, 2), height) << NV17_MPEG_CMD_MV_COORDS_Y__SHIFT; in nouveau_vpe_mb_mv()
/third_party/alsa-lib/src/pcm/
Dinterval.c46 static inline unsigned int div_down(unsigned int a, unsigned int b) in div_down() function
69 if (div_down(UINT_MAX, a) < b) in mul()