Lines Matching refs:_rescale
1193 ans = other._rescale(exp, context.rounding)
1198 ans = self._rescale(exp, context.rounding)
1394 self._rescale(ideal_exp, context.rounding))
1541 ans = self._rescale(ideal_exponent, context.rounding)
1886 return int(self._rescale(0, ROUND_HALF_EVEN))
1901 return int(self._rescale(0, ROUND_FLOOR))
1916 return int(self._rescale(0, ROUND_CEILING))
2572 ans = self._rescale(exp._exp, rounding)
2608 def _rescale(self, exp, rounding): member in Decimal
2656 ans = self._rescale(self.adjusted()+1-places, rounding)
2662 ans = ans._rescale(ans.adjusted()+1-places, rounding)
2688 ans = self._rescale(0, rounding)
2708 return self._rescale(0, rounding)
3787 self = self._rescale(-precision, rounding)
3793 self = self._rescale(0, rounding)