Home
last modified time | relevance | path

Searched refs:divide_int (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_decimal.py1881 d = c.divide_int(Decimal(1), Decimal(2))
1882 self.assertEqual(c.divide_int(1, 2), d)
1883 self.assertEqual(c.divide_int(Decimal(1), 2), d)
1884 self.assertEqual(c.divide_int(1, Decimal(2)), d)
1885 self.assertRaises(TypeError, c.divide_int, '1', 2)
1886 self.assertRaises(TypeError, c.divide_int, 1, '2')
/external/python/cpython3/Lib/test/
Dtest_decimal.py3070 d = c.divide_int(Decimal(1), Decimal(2))
3071 self.assertEqual(c.divide_int(1, 2), d)
3072 self.assertEqual(c.divide_int(Decimal(1), 2), d)
3073 self.assertEqual(c.divide_int(1, Decimal(2)), d)
3074 self.assertRaises(TypeError, c.divide_int, '1', 2)
3075 self.assertRaises(TypeError, c.divide_int, 1, '2')
/external/python/cpython3/Lib/
D_pydecimal.py4395 def divide_int(self, a, b): member in Context
/external/python/cpython2/Lib/
Ddecimal.py4221 def divide_int(self, a, b): member in Context
/external/python/cpython2/Doc/library/
Ddecimal.rst1206 .. method:: divide_int(x, y)
/external/python/cpython3/Doc/library/
Ddecimal.rst1183 .. method:: divide_int(x, y)