Home | History | Annotate | Download | only in Lib

Lines Matching refs:copy_negate

1106             ans = self.copy_negate()
1252 # self - other is computed as self + other.copy_negate()
1253 return self.__add__(other.copy_negate(), context=context)
2343 self = self.copy_negate()
3019 def copy_negate(self):
4317 def copy_negate(self, a):
4320 >>> ExtendedContext.copy_negate(Decimal('101.5'))
4322 >>> ExtendedContext.copy_negate(Decimal('-101.5'))
4324 >>> ExtendedContext.copy_negate(1)
4328 return a.copy_negate()