• Home
  • Raw
  • Download

Lines Matching refs:Overflow

67       C.Overflow, C.DivisionByZero, C.InvalidOperation,
70 P.Overflow, P.DivisionByZero, P.InvalidOperation,
252 'overflow' : self.decimal.Overflow,
1505 Overflow = cls.decimal.Overflow
1537 for sig in Overflow, Underflow, DivisionByZero, InvalidOperation:
1544 Overflow = cls.decimal.Overflow
1560 cls.assertRaises(Overflow, c2.multiply, Decimal('1e425000000'), 999)
1561 cls.assertTrue(c2.flags[Overflow])
1564 cls.assertFalse(c3.flags[Overflow])
1581 for sig in Overflow, Underflow, DivisionByZero, InvalidOperation:
2162 Overflow = self.decimal.Overflow
2184 self.assertRaises(Overflow, y.exp, context=None)
2185 self.assertTrue(c.flags[Overflow])
2228 self.assertRaises(Overflow, y.normalize, context=None)
2229 self.assertTrue(c.flags[Overflow])
2241 self.assertRaises(Overflow, y.sqrt, context=None)
2242 self.assertTrue(c.flags[Overflow])
2333 self.assertRaises(Overflow, x.fma, Decimal('1e9999'), 3, context=None)
2334 self.assertTrue(c.flags[Overflow])
2653 Overflow = self.decimal.Overflow
2674 self.assertRaises(Overflow, D(8).exp, context=xc)
2675 self.assertTrue(xc.flags[Overflow])
2676 self.assertFalse(c.flags[Overflow])
2745 self.assertRaises(Overflow,
2747 self.assertTrue(xc.flags[Overflow])
2748 self.assertFalse(c.flags[Overflow])
2767 Overflow = decimal.Overflow
2781 self.assertTrue(issubclass(Overflow, Rounded))
2782 self.assertTrue(issubclass(Overflow, Inexact))
2783 self.assertTrue(issubclass(Overflow, DecimalException))
2811 Overflow = self.decimal.Overflow
2825 Overflow])
3595 Overflow = self.decimal.Overflow
3611 self.assertRaises(Overflow, c2.power, Decimal('3.4e200'), 2)
3613 self.assertTrue(c2.flags[Overflow])
3615 self.assertFalse(c1.flags[Overflow])
3619 self.assertFalse(orig_ctx.flags[Overflow])
3621 self.assertFalse(new_ctx.flags[Overflow])
3967 Overflow = self.decimal.Overflow
3972 [InvalidOperation, DivisionByZero, Overflow, Underflow, Clamped]
4004 Overflow = self.decimal.Overflow
4010 [InvalidOperation, DivisionByZero, Overflow]
4118 Overflow = decimal.Overflow
4181 self.assertRaises(Overflow, c.add, Decimal('1e99'), Decimal('2.234e2000'))
4183 for signal in (Inexact, Overflow, Rounded):
4418 Overflow = self.decimal.Overflow
4431 c.traps[Overflow] = False
4433 self.assertTrue(c.flags[Overflow])
4831 Overflow = C.Overflow
4843 self.assertRaises(ValueError, c.flags.__delitem__, Overflow)
4944 Overflow = C.Overflow
5224 Overflow = C.Overflow
5245 self.assertTrue(Overflow in c.traps)
5255 self.assertFalse(c.flags.get(Overflow))
5294 Overflow: C.DecOverflow,
5413 Overflow = C.Overflow
5419 c.traps[Overflow] = True
5428 self.assertRaises(Overflow, c.create_decimal, x)