Lines Matching refs:_div_nearest
5558 def _div_nearest(a, b): function
5601 y = _div_nearest(long(M*y) << 1,
5608 w = _div_nearest(M, T)
5610 w = _div_nearest(M, k) - _div_nearest(yshift*w, M)
5612 return _div_nearest(w*y, M)
5636 c = _div_nearest(c, 10**-k)
5640 log_d = _div_nearest(log_d*M, log_10)
5644 log_tenpower = _div_nearest(f, 10**-p) # error < 0.5
5646 return _div_nearest(log_tenpower+log_d, 100)
5669 c = _div_nearest(c, 10**-k) # error of <= 0.5 in c
5683 f_log_ten = _div_nearest(f*_log10_digits(p+extra), 10**extra)
5690 return _div_nearest(f_log_ten + log_d, 100)
5718 digits = str(_div_nearest(_ilog(10*M, M), 100))
5754 y = _div_nearest(x, T)
5757 y = _div_nearest(x*(Mshift + y), Mshift * i)
5762 y = _div_nearest(y*(y+Mshift), Mshift)
5797 rem = _div_nearest(rem, 10**extra)
5800 return _div_nearest(_iexp(rem, 10**p), 1000), quot - p + 3
5828 pc = _div_nearest(lxc*yc, 10**-shift)
5839 coeff = _div_nearest(coeff, 10)