Lines Matching refs:ROUND_UP
96 ROUND_UP = P.ROUND_UP variable
106 ROUND_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR,
259 'up' : ROUND_UP,
2372 ans = str(Decimal('1.5').to_integral(rounding=ROUND_UP, context=None))
2384 ans = str(Decimal('1.5').to_integral_value(rounding=ROUND_UP, context=None))
2396 ans = str(Decimal('1.5').to_integral_exact(rounding=ROUND_UP, context=None))
2402 c.rounding = ROUND_UP
2408 … ans = str(Decimal('1.50001').quantize(exp=Decimal('1e-3'), rounding=ROUND_UP, context=None))
2411 … self.assertRaises(InvalidOperation, y.quantize, Decimal('1e-10'), rounding=ROUND_UP, context=None)
2609 context = Context(prec=5, rounding=ROUND_UP)
4683 x = Decimal("NaN")._rescale(3, ROUND_UP)
4690 self.assertRaises(ValueError, Decimal("3.1234")._round, 0, ROUND_UP)
4943 self.assertIs(C.ROUND_UP, P.ROUND_UP)
5102 x = Decimal("99999999999999999999999999.9").to_integral_value(ROUND_UP)
5105 x = Decimal("99999999999999999999999999.9").to_integral_exact(ROUND_UP)
5109 self.assertRaises(Inexact, Decimal("999.9").to_integral_exact, ROUND_UP)
5139 Decimal("1.23456789").quantize, Decimal('1e-100000'), ROUND_UP, 1000