Home
last modified time | relevance | path

Searched refs:_div_nearest (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython2/Lib/
Ddecimal.py5558 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
[all …]