Lines Matching defs:Emax

359     can be handled by the implementation (the value Emax).
383 context.Emax-context.prec+1)
388 context.Emax-context.prec+1)
445 ['prec', 'Emin', 'Emax', 'capitals', 'clamp', 'rounding', 'flags', 'traps']
1690 # Emax if clamp==0, and between Etiny and Etop if clamp==1.
1694 exp_max = [context.Emax, Etop][context.clamp]
1706 # overflow: exp_min > Etop iff self.adjusted() > Emax
1707 ans = context._raise_error(Overflow, 'above Emax', self._sign)
1733 ans = context._raise_error(Overflow, 'above Emax', self._sign)
2417 # log10(self)*other >= 10**bound and bound >= len(str(Emax))
2418 # then 10**bound >= 10**len(str(Emax)) >= Emax+1 and hence
2419 # self**other >= 10**(Emax+1), so overflow occurs. The test
2425 if bound >= len(str(context.Emax)):
2426 ans = _dec_from_triple(result_sign, '1', context.Emax+1)
2504 context._raise_error(Overflow, 'above Emax', ans._sign)
2538 exp_max = [context.Emax, context.Etop()][context.clamp]
2569 # exp._exp should be between Etiny and Emax
2570 if not (context.Etiny() <= exp._exp <= context.Emax):
2579 if self_adjusted > context.Emax:
2587 if ans.adjusted() > context.Emax:
3081 if self._sign == 0 and adj > len(str((context.Emax+1)*3)):
3083 ans = _dec_from_triple(0, '1', context.Emax+1)
3692 liminf = -2 * (context.Emax + context.prec)
3693 limsup = 2 * (context.Emax + context.prec)
3896 Emax - Maximum exponent
3902 def __init__(self, prec=None, rounding=None, Emin=None, Emax=None,
3915 self.Emax = Emax if Emax is not None else dc.Emax
3968 elif name == 'Emax':
3996 (self.prec, self.rounding, self.Emin, self.Emax,
4003 'Emin=%(Emin)d, Emax=%(Emax)d, capitals=%(capitals)d, '
4024 nc = Context(self.prec, self.rounding, self.Emin, self.Emax,
4031 nc = Context(self.prec, self.rounding, self.Emin, self.Emax,
4086 """Returns maximum exponent (= Emax - prec + 1)"""
4087 return int(self.Emax - self.prec + 1)
4458 >>> c.Emax = 999
4572 >>> c.Emax = 999
4642 >>> c.Emax = 999
4681 >>> c.Emax = 999
4703 >>> c.Emax = 999
4994 >>> c.Emax = 999
5014 >>> c.Emax = 999
5039 >>> c.Emax = 999
5105 >>> c.Emax = 999
5179 >>> c.Emax = 999
6092 Emax=999999,