Searched refs:next_minus (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_decimal.py | 2073 d = c.next_minus(Decimal(10)) 2074 self.assertEqual(c.next_minus(10), d) 2075 self.assertRaises(TypeError, c.next_minus, '10')
|
/external/python/cpython2/Lib/ |
D | decimal.py | 3392 def next_minus(self, context=None): member in Decimal 3463 ans = self.next_minus(context) 4799 def next_minus(self, a): member in Context 4817 return a.next_minus(context=self)
|
/external/python/cpython3/Lib/ |
D | _pydecimal.py | 3498 def next_minus(self, context=None): member in Decimal 3569 ans = self.next_minus(context) 4975 def next_minus(self, a): member in Context 4993 return a.next_minus(context=self)
|
/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 2217 self.assertEqual(str(y.next_minus(context=None)), '9.999999E+999') 2218 self.assertRaises(InvalidOperation, Decimal('sNaN').next_minus, context=None) 2676 self.assertEqual(D(-1).next_minus(context=xc), -2) 3332 d = c.next_minus(Decimal(10)) 3333 self.assertEqual(c.next_minus(10), d) 3334 self.assertRaises(TypeError, c.next_minus, '10') 4325 self.assertEqual(Decimal("10").next_minus(), 9)
|
/external/python/cpython3/Modules/_decimal/tests/ |
D | deccheck.py | 401 b = dec.next_minus()
|
/external/python/cpython2/Doc/library/ |
D | decimal.rst | 736 .. method:: next_minus([context]) 1341 .. method:: next_minus(x)
|
/external/python/cpython3/Doc/library/ |
D | decimal.rst | 724 .. method:: next_minus(context=None) 1318 .. method:: next_minus(x)
|