Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
D_pydecimal.py1193 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)
[all …]
Dturtle.py762 def _rescale(self, xscalefactor, yscalefactor): member in TurtleScreenBase
1104 self._rescale(self.xscale/oldxscale, self.yscale/oldyscale)
/external/python/cpython2/Lib/
Ddecimal.py1164 ans = other._rescale(exp, context.rounding)
1169 ans = self._rescale(exp, context.rounding)
1365 self._rescale(ideal_exp, context.rounding))
1515 ans = self._rescale(ideal_exponent, context.rounding)
2445 ans = self._rescale(exp._exp, rounding)
2470 ans = self._rescale(exp._exp, rounding)
2506 def _rescale(self, exp, rounding): member in Decimal
2554 ans = self._rescale(self.adjusted()+1-places, rounding)
2560 ans = ans._rescale(ans.adjusted()+1-places, rounding)
2586 ans = self._rescale(0, rounding)
[all …]
/external/python/cpython2/Lib/lib-tk/
Dturtle.py768 def _rescale(self, xscalefactor, yscalefactor): member in TurtleScreenBase
1051 self._rescale(self.xscale/oldxscale, self.yscale/oldyscale)
/external/python/cpython2/Lib/test/decimaltestdata/
Dextra.decTest131 -- a bug in _rescale caused the following to fail in Python 2.5.1
/external/python/cpython3/Lib/test/decimaltestdata/
Dextra.decTest131 -- a bug in _rescale caused the following to fail in Python 2.5.1
/external/python/cpython2/Doc/library/
Ddecimal.rst1540 x._rescale( non-integer )
/external/python/cpython3/Lib/test/
Dtest_decimal.py4653 x = Decimal("NaN")._rescale(3, ROUND_UP)