Lines Matching defs:Overflow
127 'Inexact', 'Rounded', 'Subnormal', 'Overflow', 'Underflow',
278 were non-zero), or if an overflow or underflow condition occurs. The
304 coefficient), or if an overflow or underflow condition occurs. The
322 class Overflow(Inexact, Rounded):
323 """Numerical overflow.
325 This occurs and signals overflow if the adjusted exponent of a result
376 _signals = [Clamped, DivisionByZero, Inexact, Overflow, Rounded,
1675 # overflow: exp_min > Etop iff self.adjusted() > Emax
1676 ans = context._raise_error(Overflow, 'above Emax', self._sign)
1702 ans = context._raise_error(Overflow, 'above Emax', self._sign)
2292 # crude test to catch cases of extreme overflow/underflow. If
2295 # self**other >= 10**(Emax+1), so overflow occurs. The test
2300 # possibility of overflow
2375 # have raised any of Overflow, Underflow, Subnormal,
2376 # Inexact, Rounded, Clamped. Overflow needs the correct
2379 if newcontext.flags[Overflow]:
2380 context._raise_error(Overflow, 'above Emax', ans._sign)
2968 # overflow
3469 context._raise_error(Overflow,
5861 traps=[DivisionByZero, Overflow, InvalidOperation],
5875 traps=[DivisionByZero, Overflow, InvalidOperation, Clamped, Underflow],