Home
last modified time | relevance | path

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

/third_party/python/Modules/_decimal/libmpdec/
Dcontext.c92 ctx->round=MPD_ROUND_HALF_EVEN; in mpd_maxcontext()
138 ctx->round=MPD_ROUND_HALF_EVEN; in mpd_ieee_context()
Dmpdecimal.c1710 case MPD_ROUND_HALF_EVEN: in _mpd_rnd_incr()
1836 case MPD_ROUND_HALF_UP: case MPD_ROUND_HALF_EVEN: in _mpd_check_exp()
4439 workctx.round = MPD_ROUND_HALF_EVEN; in _mpd_qexp()
4513 workctx.round = MPD_ROUND_HALF_EVEN; in mpd_qexp()
5070 workctx.round = MPD_ROUND_HALF_EVEN; in mpd_qln()
5144 workctx.round = MPD_ROUND_HALF_EVEN; in _mpd_qlog10()
5161 workctx.round = MPD_ROUND_HALF_EVEN; in mpd_qlog10()
6376 workctx.round = MPD_ROUND_HALF_EVEN; in _mpd_qpow_int()
6670 workctx.round = MPD_ROUND_HALF_EVEN; in _mpd_qpow_real()
7881 workctx.round = MPD_ROUND_HALF_EVEN; in mpd_qinvroot()
[all …]
Dmpdecimal.h230 MPD_ROUND_HALF_EVEN, /* 0.5 is rounded to even */ enumerator
/third_party/python/Modules/_decimal/
D_decimal.c1176 0, 0, MPD_ROUND_HALF_EVEN, 0, 1
3679 return dec_as_long(dec, context, MPD_ROUND_HALF_EVEN); in PyDec_Round()