Searched refs:_div_nearest (Results 1 – 1 of 1) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | decimal.py | 5489 def _div_nearest(a, b): function 5532 y = _div_nearest(long(M*y) << 1, 5539 w = _div_nearest(M, T) 5541 w = _div_nearest(M, k) - _div_nearest(yshift*w, M) 5543 return _div_nearest(w*y, M) 5567 c = _div_nearest(c, 10**-k) 5571 log_d = _div_nearest(log_d*M, log_10) 5575 log_tenpower = _div_nearest(f, 10**-p) # error < 0.5 5577 return _div_nearest(log_tenpower+log_d, 100) 5600 c = _div_nearest(c, 10**-k) # error of <= 0.5 in c [all …]
|