Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_decimal.py1998 d = c.logical_invert(Decimal(1000))
1999 self.assertEqual(c.logical_invert(1000), d)
2000 self.assertRaises(TypeError, c.logical_invert, '1000')
/external/python/cpython3/Doc/library/
Ddecimal.rst683 .. method:: logical_invert(context=None)
685 :meth:`logical_invert` is a logical operation. The
894 The :meth:`logical_and`, :meth:`logical_invert`, :meth:`logical_or`,
1273 .. method:: logical_invert(x)
2180 >>> x = Decimal(0).logical_invert() * 9
/external/python/cpython3/Lib/test/
Dtest_decimal.py2212 self.assertEqual(str(x.logical_invert(context=None)), '1111000')
2213 self.assertRaises(InvalidOperation, y.logical_invert, context=None)
2726 self.assertEqual(D(0).logical_invert(context=xc), 1)
3230 d = c.logical_invert(Decimal(1000))
3231 self.assertEqual(c.logical_invert(1000), d)
3232 self.assertRaises(TypeError, c.logical_invert, '1000')
4319 self.assertEqual(Decimal("10").logical_invert(), 1)
/external/python/cpython2/Doc/library/
Ddecimal.rst685 .. method:: logical_invert([context])
687 :meth:`logical_invert` is a logical operation. The
924 The :meth:`logical_and`, :meth:`logical_invert`, :meth:`logical_or`,
1296 .. method:: logical_invert(x)
/external/python/cpython2/Lib/
Ddecimal.py3291 def logical_invert(self, context=None): member in Decimal
4589 def logical_invert(self, a): member in Context
4606 return a.logical_invert(context=self)
/external/python/cpython3/Lib/
D_pydecimal.py3397 def logical_invert(self, context=None): member in Decimal
4765 def logical_invert(self, a): member in Context
4782 return a.logical_invert(context=self)