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

Lines Matching refs:places

2542     def _round(self, places, rounding):
2552 if places <= 0:
2556 ans = self._rescale(self.adjusted()+1-places, rounding)
2562 ans = ans._rescale(ans.adjusted()+1-places, rounding)
2650 # p places (or fewer in the case of underflow) will round
3123 places = p - self._ln_exp_bound() + 2 # at least p+3 places
3125 coeff = _dlog(c, e, places)
3129 places += 3
3130 ans = _dec_from_triple(int(coeff<0), str(abs(coeff)), -places)
3204 places = p-self._log10_exp_bound()+2
3206 coeff = _dlog10(c, e, places)
3210 places += 3
3211 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
5747 """Compute an approximation to exp(c*10**e), with p decimal places of
5800 # log(x) = lxc*10**(-p-b-1), to p+b+1 places after the decimal point