Lines Matching refs:_div_nearest
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
5841 f_log_ten = _div_nearest(f*_log10_digits(p+extra), 10**extra)
5848 return _div_nearest(f_log_ten + log_d, 100)
5876 digits = str(_div_nearest(_ilog(10*M, M), 100))
5912 y = _div_nearest(x, T)
5915 y = _div_nearest(x*(Mshift + y), Mshift * i)
5920 y = _div_nearest(y*(y+Mshift), Mshift)
5955 rem = _div_nearest(rem, 10**extra)
5958 return _div_nearest(_iexp(rem, 10**p), 1000), quot - p + 3
5986 pc = _div_nearest(lxc*yc, 10**-shift)
5997 coeff = _div_nearest(coeff, 10)