Lines Matching refs:remainder_near
2305 ans = str(x.remainder_near(101, context=None))
2307 self.assertRaises(InvalidOperation, y.remainder_near, 101, context=None)
2426 self.assertEqual(Decimal(768).remainder_near(1234),
2427 Decimal(768).remainder_near(Decimal(1234)))
2703 self.assertEqual(D("9.99").remainder_near(D('1.5'), context=xc),
3427 d = c.remainder_near(Decimal(1), Decimal(2))
3428 self.assertEqual(c.remainder_near(1, 2), d)
3429 self.assertEqual(c.remainder_near(Decimal(1), 2), d)
3430 self.assertEqual(c.remainder_near(1, Decimal(2)), d)
3431 self.assertRaises(TypeError, c.remainder_near, '1', 2)
3432 self.assertRaises(TypeError, c.remainder_near, 1, '2')