Home
last modified time | relevance | path

Searched refs:next_plus (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Lib/
D_pydecimal.py3521 def next_plus(self, context=None): member in Decimal
3567 ans = self.next_plus(context)
4995 def next_plus(self, a): member in Context
5013 return a.next_plus(context=self)
/third_party/python/Lib/test/
Dtest_decimal.py2250 self.assertEqual(str(y.next_plus(context=None)), 'Infinity')
2251 self.assertRaises(InvalidOperation, Decimal('sNaN').next_plus, context=None)
2705 self.assertEqual(D(-1).next_plus(context=xc), D('-0.9'))
3371 d = c.next_plus(Decimal(10))
3372 self.assertEqual(c.next_plus(10), d)
3373 self.assertRaises(TypeError, c.next_plus, '10')
4357 self.assertEqual(Decimal("10").next_plus(), Decimal('2E+1'))
/third_party/python/Modules/_decimal/tests/
Ddeccheck.py404 a = dec.next_plus()
/third_party/python/Doc/library/
Ddecimal.rst730 .. method:: next_plus(context=None)
1323 .. method:: next_plus(x)