Home
last modified time | relevance | path

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

/third_party/python/Lib/
D_pydecimal.py1197 ans = other._rescale(exp, context.rounding)
1202 ans = self._rescale(exp, context.rounding)
1398 self._rescale(ideal_exp, context.rounding))
1545 ans = self._rescale(ideal_exponent, context.rounding)
1890 return int(self._rescale(0, ROUND_HALF_EVEN))
1905 return int(self._rescale(0, ROUND_FLOOR))
1920 return int(self._rescale(0, ROUND_CEILING))
2576 ans = self._rescale(exp._exp, rounding)
2612 def _rescale(self, exp, rounding): member in Decimal
2660 ans = self._rescale(self.adjusted()+1-places, rounding)
[all …]
Dturtle.py761 def _rescale(self, xscalefactor, yscalefactor): member in TurtleScreenBase
1105 self._rescale(self.xscale/oldxscale, self.yscale/oldyscale)
/third_party/python/Lib/test/decimaltestdata/
Dextra.decTest131 -- a bug in _rescale caused the following to fail in Python 2.5.1
/third_party/python/Lib/test/
Dtest_decimal.py4701 x = Decimal("NaN")._rescale(3, ROUND_UP)