Home | History | Annotate | Download | only in Lib

Lines Matching defs:Overflow

127     'Inexact', 'Rounded', 'Subnormal', 'Overflow', 'Underflow',
305 were non-zero), or if an overflow or underflow condition occurs. The
331 coefficient), or if an overflow or underflow condition occurs. The
349 class Overflow(Inexact, Rounded):
350 """Numerical overflow.
352 This occurs and signals overflow if the adjusted exponent of a result
418 _signals = [Clamped, DivisionByZero, Inexact, Overflow, Rounded,
1733 # overflow: exp_min > Etop iff self.adjusted() > Emax
1734 ans = context._raise_error(Overflow, 'above Emax', self._sign)
1760 ans = context._raise_error(Overflow, 'above Emax', self._sign)
2443 # crude test to catch cases of extreme overflow/underflow. If
2446 # self**other >= 10**(Emax+1), so overflow occurs. The test
2451 # possibility of overflow
2526 # have raised any of Overflow, Underflow, Subnormal,
2527 # Inexact, Rounded, Clamped. Overflow needs the correct
2530 if newcontext.flags[Overflow]:
2531 context._raise_error(Overflow, 'above Emax', ans._sign)
3109 # overflow
3610 context._raise_error(Overflow,
6115 traps=[DivisionByZero, Overflow, InvalidOperation],
6130 traps=[DivisionByZero, Overflow, InvalidOperation, Clamped, Underflow],