Home | History | Annotate | Download | only in Lib

Lines Matching refs:places

2540     def _round(self, places, rounding):
2550 if places <= 0:
2554 ans = self._rescale(self.adjusted()+1-places, rounding)
2560 ans = ans._rescale(ans.adjusted()+1-places, rounding)
2648 # p places (or fewer in the case of underflow) will round
3121 places = p - self._ln_exp_bound() + 2 # at least p+3 places
3123 coeff = _dlog(c, e, places)
3127 places += 3
3128 ans = _dec_from_triple(int(coeff<0), str(abs(coeff)), -places)
3202 places = p-self._log10_exp_bound()+2
3204 coeff = _dlog10(c, e, places)
3208 places += 3
3209 ans = _dec_from_triple(int(coeff<0), str(abs(coeff)), -places)
5187 the coefficient of the first operand. The number of places of
5259 in the coefficient of the first operand. The number of places
5767 """Compute an approximation to exp(c*10**e), with p decimal places of
5820 # log(x) = lxc*10**(-p-b-1), to p+b+1 places after the decimal point