/external/python/cpython3/Modules/_decimal/tests/ |
D | deccheck.py | 176 self.p.Emax = self.c.Emax 203 assert(self.c.Emax == self.p.Emax) 204 return self.c.Emax 207 self.c.Emax = val 208 self.p.Emax = val 236 Emax = property(getemax, setemax) variable in Context 275 context.Emax = C.MAX_EMAX 283 Emax=C.MAX_EMAX, 360 self.maxctx = P.Context(Emax=10**18, Emin=-10**18) 405 x = _dec_from_triple(exact._sign, '10', context.p.Emax) [all …]
|
D | bench.py | 100 c.Emax = C.MAX_EMAX
|
/external/python/cpython3/Lib/ |
D | _pydecimal.py | 379 context.Emax-context.prec+1) 384 context.Emax-context.prec+1) 1680 exp_max = [context.Emax, Etop][context.clamp] 2411 if bound >= len(str(context.Emax)): 2412 ans = _dec_from_triple(result_sign, '1', context.Emax+1) 2524 exp_max = [context.Emax, context.Etop()][context.clamp] 2556 if not (context.Etiny() <= exp._exp <= context.Emax): 2565 if self_adjusted > context.Emax: 2573 if ans.adjusted() > context.Emax: 3067 if self._sign == 0 and adj > len(str((context.Emax+1)*3)): [all …]
|
/external/python/cpython2/Lib/ |
D | decimal.py | 351 context.Emax-context.prec+1) 356 context.Emax-context.prec+1) 1661 exp_max = [context.Emax, Etop][context._clamp] 2299 if bound >= len(str(context.Emax)): 2300 ans = _dec_from_triple(result_sign, '1', context.Emax+1) 2412 exp_max = [context.Emax, context.Etop()][context._clamp] 2454 if not (context.Etiny() <= exp._exp <= context.Emax): 2463 if self_adjusted > context.Emax: 2471 if ans.adjusted() > context.Emax: 2965 if self._sign == 0 and adj > len(str((context.Emax+1)*3)): [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 478 self.context.Emax = exp 1599 save_emax = DefaultContext.Emax 1602 DefaultContext.Emax = 425000000 1625 DefaultContext.Emax = save_emax 1724 c = Context(Emax=emax, Emin=emin) 2171 c.Emax = 999 2388 context.Emax = 999 2392 self.assertEqual(c.Emax, 999) 2604 c = Context(Emax=99999, Emin=-99999) 2648 xc.Emax = 1 [all …]
|
/external/python/cpython3/Doc/library/ |
D | decimal.rst | 133 Context(prec=28, rounding=ROUND_HALF_EVEN, Emin=-999999, Emax=999999, 284 Context(prec=9, rounding=ROUND_HALF_EVEN, Emin=-999999, Emax=999999, 309 Context(prec=9, rounding=ROUND_HALF_EVEN, Emin=-999999, Emax=999999, 792 :attr:`Emax` or less than :attr:`Etiny`. 996 .. class:: Context(prec=None, rounding=None, Emin=None, Emax=None, capitals=None, clamp=None, flags… 1011 The *Emin* and *Emax* fields are integers specifying the outer limits allowable 1013 *Emax* in the range [:const:`0`, :const:`MAX_EMAX`]. 1022 range ``Emin - prec + 1 <= e <= Emax - prec + 1``. If *clamp* is 1024 the :class:`Decimal` instance is at most ``Emax``. When *clamp* is 1031 >>> Context(prec=6, Emax=999, clamp=1).create_decimal('1.23e999') [all …]
|
/external/python/cpython2/Doc/library/ |
D | decimal.rst | 128 Context(prec=28, rounding=ROUND_HALF_EVEN, Emin=-999999999, Emax=999999999, 250 Context(prec=9, rounding=ROUND_HALF_EVEN, Emin=-999999999, Emax=999999999, 275 Context(prec=9, rounding=ROUND_HALF_EVEN, Emin=-999999999, Emax=999999999, 812 resulting exponent is greater than :attr:`Emax` or less than 1031 .. class:: Context(prec=None, rounding=None, traps=None, flags=None, Emin=None, Emax=None, capitals… 1055 The *Emin* and *Emax* fields are integers specifying the outer limits allowable 1141 Returns a value equal to ``Emax - prec + 1``. 1501 :attr:`Emin` and :attr:`Emax` limits. If possible, the exponent is reduced to 1551 Indicates the exponent is larger than :attr:`Emax` after rounding has
|
/external/python/cpython3/Lib/test/decimaltestdata/ |
D | dsEncode.decTest | 35 -- Emax = 96 (largest exponent value)
|
D | ddEncode.decTest | 35 -- Emax = 384 (largest exponent value)
|
D | dqEncode.decTest | 35 -- Emax = 6144 (largest exponent value)
|
D | powersqrt.decTest | 2927 -- Etiny = -(Emax + (precision-1))
|
D | squareroot.decTest | 2918 -- Etiny = -(Emax + (precision-1))
|
/external/python/cpython2/Lib/test/decimaltestdata/ |
D | dsEncode.decTest | 35 -- Emax = 96 (largest exponent value)
|
D | dqEncode.decTest | 35 -- Emax = 6144 (largest exponent value)
|
D | ddEncode.decTest | 35 -- Emax = 384 (largest exponent value)
|
D | powersqrt.decTest | 2927 -- Etiny = -(Emax + (precision-1))
|
D | squareroot.decTest | 2918 -- Etiny = -(Emax + (precision-1))
|
/external/python/cpython2/Lib/test/ |
D | test_decimal.py | 404 self.context.Emax = exp 2255 context = Context(prec=9, Emin = -999999999, Emax = 999999999,
|
/external/python/cpython3/Python/ |
D | dtoa.c | 244 #define Emax 1023 macro
|
/external/python/cpython2/Python/ |
D | dtoa.c | 253 #define Emax 1023 macro
|
/external/icu/icu4c/source/i18n/ |
D | decNumber.cpp | 7599 #error GetInt may need updating [for Emax]
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 1149 the magnitude of :attr:`~decimal.Context.Emax` and
|