Home | History | Annotate | Download | only in python2.7

Lines Matching defs:_div_nearest

5538 def _div_nearest(a, b):
5581 y = _div_nearest(long(M*y) << 1,
5588 w = _div_nearest(M, T)
5590 w = _div_nearest(M, k) - _div_nearest(yshift*w, M)
5592 return _div_nearest(w*y, M)
5616 c = _div_nearest(c, 10**-k)
5620 log_d = _div_nearest(log_d*M, log_10)
5624 log_tenpower = _div_nearest(f, 10**-p) # error < 0.5
5626 return _div_nearest(log_tenpower+log_d, 100)
5649 c = _div_nearest(c, 10**-k) # error of <= 0.5 in c
5663 f_log_ten = _div_nearest(f*_log10_digits(p+extra), 10**extra)
5670 return _div_nearest(f_log_ten + log_d, 100)
5698 digits = str(_div_nearest(_ilog(10*M, M), 100))
5734 y = _div_nearest(x, T)
5737 y = _div_nearest(x*(Mshift + y), Mshift * i)
5742 y = _div_nearest(y*(y+Mshift), Mshift)
5777 rem = _div_nearest(rem, 10**extra)
5780 return _div_nearest(_iexp(rem, 10**p), 1000), quot - p + 3
5808 pc = _div_nearest(lxc*yc, 10**-shift)
5819 coeff = _div_nearest(coeff, 10)