Home
last modified time | relevance | path

Searched refs:MPD_ROUND_FLOOR (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c1714 case MPD_ROUND_FLOOR: in _mpd_rnd_incr()
1854 case MPD_ROUND_FLOOR: in _mpd_check_exp()
3462 if (ctx->round == MPD_ROUND_FLOOR) { in _mpd_qaddsub()
6110 if (mpd_iszero(a) && ctx->round != MPD_ROUND_FLOOR) { in mpd_qminus()
6131 if (mpd_iszero(a) && ctx->round != MPD_ROUND_FLOOR) { in mpd_qplus()
6171 workctx.round = MPD_ROUND_FLOOR; in mpd_qnext_minus()
7369 workctx.round = MPD_ROUND_FLOOR; in mpd_qfloor()
Dmpdecimal.h234 MPD_ROUND_FLOOR, /* round toward -infinity */ enumerator
/external/python/cpython3/Modules/_decimal/
D_decimal.c3452 numerator = dec_as_long(tmp, context, MPD_ROUND_FLOOR); in dec_as_integer_ratio()
4499 return dec_as_long(self, context, MPD_ROUND_FLOOR); in dec_floor()