Searched refs:_rescale (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Lib/ |
D | _pydecimal.py | 1197 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 …]
|
D | turtle.py | 761 def _rescale(self, xscalefactor, yscalefactor): member in TurtleScreenBase 1105 self._rescale(self.xscale/oldxscale, self.yscale/oldyscale)
|
/third_party/python/Lib/test/decimaltestdata/ |
D | extra.decTest | 131 -- a bug in _rescale caused the following to fail in Python 2.5.1
|
/third_party/python/Lib/test/ |
D | test_decimal.py | 4701 x = Decimal("NaN")._rescale(3, ROUND_UP)
|