Searched refs:_div_nearest (Results 1 – 1 of 1) sorted by relevance
/third_party/python/Lib/ |
D | _pydecimal.py | 5716 def _div_nearest(a, b): function 5759 y = _div_nearest((M*y) << 1, 5766 w = _div_nearest(M, T) 5768 w = _div_nearest(M, k) - _div_nearest(yshift*w, M) 5770 return _div_nearest(w*y, M) 5794 c = _div_nearest(c, 10**-k) 5798 log_d = _div_nearest(log_d*M, log_10) 5802 log_tenpower = _div_nearest(f, 10**-p) # error < 0.5 5804 return _div_nearest(log_tenpower+log_d, 100) 5827 c = _div_nearest(c, 10**-k) # error of <= 0.5 in c [all …]
|