Lines Matching defs:Overflow
127 'Inexact', 'Rounded', 'Subnormal', 'Overflow', 'Underflow',
277 were non-zero), or if an overflow or underflow condition occurs. The
303 coefficient), or if an overflow or underflow condition occurs. The
321 class Overflow(Inexact, Rounded):
322 """Numerical overflow.
324 This occurs and signals overflow if the adjusted exponent of a result
375 _signals = [Clamped, DivisionByZero, Inexact, Overflow, Rounded,
1673 # overflow: exp_min > Etop iff self.adjusted() > Emax
1674 ans = context._raise_error(Overflow, 'above Emax', self._sign)
1700 ans = context._raise_error(Overflow, 'above Emax', self._sign)
2290 # crude test to catch cases of extreme overflow/underflow. If
2293 # self**other >= 10**(Emax+1), so overflow occurs. The test
2298 # possibility of overflow
2373 # have raised any of Overflow, Underflow, Subnormal,
2374 # Inexact, Rounded, Clamped. Overflow needs the correct
2377 if newcontext.flags[Overflow]:
2378 context._raise_error(Overflow, 'above Emax', ans._sign)
2966 # overflow
3467 context._raise_error(Overflow,
5881 traps=[DivisionByZero, Overflow, InvalidOperation],
5895 traps=[DivisionByZero, Overflow, InvalidOperation, Clamped, Underflow],