Home
last modified time | relevance | path

Searched refs:MPD_ROUND_HALF_EVEN (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Modules/_decimal/libmpdec/
Dcontext.c90 ctx->round=MPD_ROUND_HALF_EVEN; in mpd_maxcontext()
136 ctx->round=MPD_ROUND_HALF_EVEN; in mpd_ieee_context()
Dmpdecimal.c1633 case MPD_ROUND_HALF_EVEN: in _mpd_rnd_incr()
1759 case MPD_ROUND_HALF_UP: case MPD_ROUND_HALF_EVEN: in _mpd_check_exp()
4277 workctx.round = MPD_ROUND_HALF_EVEN; in _mpd_qexp()
4351 workctx.round = MPD_ROUND_HALF_EVEN; in mpd_qexp()
4908 workctx.round = MPD_ROUND_HALF_EVEN; in mpd_qln()
4982 workctx.round = MPD_ROUND_HALF_EVEN; in _mpd_qlog10()
4999 workctx.round = MPD_ROUND_HALF_EVEN; in mpd_qlog10()
6214 workctx.round = MPD_ROUND_HALF_EVEN; in _mpd_qpow_int()
6506 workctx.round = MPD_ROUND_HALF_EVEN; in _mpd_qpow_real()
7698 workctx.round = MPD_ROUND_HALF_EVEN; in mpd_qinvroot()
[all …]
Dmpdecimal.h248 MPD_ROUND_HALF_EVEN, /* 0.5 is rounded to even */ enumerator
/external/python/cpython3/Modules/_decimal/
D_decimal.c1167 0, 0, MPD_ROUND_HALF_EVEN, 0, 1
3522 return dec_as_long(dec, context, MPD_ROUND_HALF_EVEN); in PyDec_Round()