Home
last modified time | relevance | path

Searched refs:Emin (Results 1 – 25 of 40) sorted by relevance

12

/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py192 self.p.Emin = self.c.Emin
212 assert(self.c.Emin == self.p.Emin)
213 return self.c.Emin
216 self.c.Emin = val
217 self.p.Emin = val
252 Emin = property(getemin, setemin) variable in Context
291 context.Emin = C.MIN_EMIN
299 Emin=C.MIN_EMIN,
371 self.maxcontext.Emin = C.MIN_EMIN
391 self.maxctx = P.Context(Emax=10**18, Emin=-10**18)
[all …]
Dbench.py101 c.Emin = C.MIN_EMIN
/external/python/cpython3/Lib/test/
Dtest_decimal.py473 self.context.Emin = exp
1600 save_emin = DefaultContext.Emin
1603 DefaultContext.Emin = -425000000
1626 DefaultContext.Emin = save_emin
1724 c = Context(Emax=emax, Emin=emin)
2172 c.Emin = -999
2389 context.Emin = -999
2393 self.assertEqual(c.Emin, -999)
2604 c = Context(Emax=99999, Emin=-99999)
2649 xc.Emin = -1
[all …]
/external/python/cpython2/Lib/test/decimaltestdata/
Dabs.decTest105 -- next is rounded to Emin
118 -- next is rounded to Emin
Dminus.decTest126 -- next is rounded to Emin
139 -- next is rounded to Emin
Dplus.decTest137 -- next is rounded to Emin
150 -- next is rounded to Emin
Dreduce.decTest165 -- next is rounded to Emin
178 -- next is rounded to Emin
Drescale.decTest635 -- next is rounded to Emin
649 -- next is rounded to Emin
661 -- next is rounded to Emin
673 -- next is rounded to Emin
DdqQuantize.decTest606 -- next is rounded to Emin
620 -- next is rounded to Emin
632 -- next is rounded to Emin
644 -- next is rounded to Emin
DddQuantize.decTest596 -- next is rounded to Emin
610 -- next is rounded to Emin
622 -- next is rounded to Emin
634 -- next is rounded to Emin
Dquantize.decTest754 -- next is rounded to Emin
768 -- next is rounded to Emin
780 -- next is rounded to Emin
792 -- next is rounded to Emin
DdsEncode.decTest36 -- Emin = -95 (smallest exponent value)
/external/python/cpython3/Lib/test/decimaltestdata/
Dabs.decTest105 -- next is rounded to Emin
118 -- next is rounded to Emin
Dminus.decTest126 -- next is rounded to Emin
139 -- next is rounded to Emin
Dplus.decTest137 -- next is rounded to Emin
150 -- next is rounded to Emin
Dreduce.decTest165 -- next is rounded to Emin
178 -- next is rounded to Emin
Drescale.decTest635 -- next is rounded to Emin
649 -- next is rounded to Emin
661 -- next is rounded to Emin
673 -- next is rounded to Emin
DdqQuantize.decTest606 -- next is rounded to Emin
620 -- next is rounded to Emin
632 -- next is rounded to Emin
644 -- next is rounded to Emin
DddQuantize.decTest596 -- next is rounded to Emin
610 -- next is rounded to Emin
622 -- next is rounded to Emin
634 -- next is rounded to Emin
Dquantize.decTest754 -- next is rounded to Emin
768 -- next is rounded to Emin
780 -- next is rounded to Emin
792 -- next is rounded to Emin
DdsEncode.decTest36 -- Emin = -95 (smallest exponent value)
/external/python/cpython3/Lib/
D_pydecimal.py2585 if ans and ans.adjusted() < context.Emin:
3141 return context.Emin <= self.adjusted()
3161 return self.adjusted() < context.Emin
3578 elif ans.adjusted() < context.Emin:
3888 def __init__(self, prec=None, rounding=None, Emin=None, Emax=None, argument
3900 self.Emin = Emin if Emin is not None else dc.Emin
3982 (self.prec, self.rounding, self.Emin, self.Emax,
4010 nc = Context(self.prec, self.rounding, self.Emin, self.Emax,
4017 nc = Context(self.prec, self.rounding, self.Emin, self.Emax,
4069 return int(self.Emin - self.prec + 1)
[all …]
/external/python/cpython2/Lib/
Ddecimal.py2479 if ans and ans.adjusted() < context.Emin:
3035 return context.Emin <= self.adjusted()
3055 return self.adjusted() < context.Emin
3472 elif ans.adjusted() < context.Emin:
3784 Emin=None, Emax=None, argument
3796 self.Emin = Emin if Emin is not None else dc.Emin
3840 self.flags, self.Emin, self.Emax,
3847 self.flags.copy(), self.Emin, self.Emax,
3897 return int(self.Emin - self.prec + 1)
5884 Emin=-999999999,
/external/python/cpython3/Doc/library/
Ddecimal.rst133 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,
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
1012 for exponents. *Emin* must be in the range [:const:`MIN_EMIN`, :const:`0`],
1022 range ``Emin - prec + 1 <= e <= Emax - prec + 1``. If *clamp* is
1112 Returns a value equal to ``Emin - prec + 1`` which is the minimum exponent
1555 :attr:`Emin` and :attr:`Emax` limits. If possible, the exponent is reduced to
1623 Exponent was lower than :attr:`Emin` prior to rounding.
[all …]
/external/python/cpython2/Doc/library/
Ddecimal.rst128 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,
610 number with an adjusted exponent greater than or equal to *Emin*.
642 adjusted exponent less than *Emin*.
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
1134 Returns a value equal to ``Emin - prec + 1`` which is the minimum exponent
1501 :attr:`Emin` and :attr:`Emax` limits. If possible, the exponent is reduced to
1570 Exponent was lower than :attr:`Emin` prior to rounding.

12