Searched refs:copy_abs (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Lib/ |
D | _pydecimal.py | 1108 ans = self.copy_abs() 1129 ans = self.copy_abs() 1143 return self.copy_abs() 3015 s = self.copy_abs() 3016 o = other.copy_abs() 3019 def copy_abs(self): member in Decimal 3457 c = self.copy_abs()._cmp(other.copy_abs()) 3487 c = self.copy_abs()._cmp(other.copy_abs()) 3771 body = str(self.copy_abs()) 4295 def copy_abs(self, a): member in Context [all …]
|
/external/python/cpython2/Lib/ |
D | decimal.py | 1075 ans = self.copy_abs() 1096 ans = self.copy_abs() 1110 return self.copy_abs() 2909 s = self.copy_abs() 2910 o = other.copy_abs() 2913 def copy_abs(self): member in Decimal 3351 c = self.copy_abs()._cmp(other.copy_abs()) 3381 c = self.copy_abs()._cmp(other.copy_abs()) 3665 body = str(self.copy_abs()) 4121 def copy_abs(self, a): member in Context [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_decimal.py | 1845 d = c.copy_abs(Decimal(-1)) 1846 self.assertEqual(c.copy_abs(-1), d) 1847 self.assertRaises(TypeError, c.copy_abs, '-1')
|
/external/python/cpython2/Doc/library/ |
D | decimal.rst | 490 ``x.copy_abs().compare_total(y.copy_abs())``. 501 .. method:: copy_abs() 1186 .. method:: copy_abs(x)
|
/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 2763 self.assertRaises(TypeError, D("-1").copy_abs, context=xc) 3019 d = c.copy_abs(Decimal(-1)) 3020 self.assertEqual(c.copy_abs(-1), d) 3021 self.assertRaises(TypeError, c.copy_abs, '-1') 4375 z = y.copy_abs() 4511 y = c.copy_abs(x)
|
/external/python/cpython3/Doc/library/ |
D | decimal.rst | 529 ``x.copy_abs().compare_total(y.copy_abs())``. 540 .. method:: copy_abs() 1163 .. method:: copy_abs(x)
|