Home | History | Annotate | Download | only in python2.7

Lines Matching refs:copy_sign

2926     def copy_sign(self, other):
3460 return self.copy_sign(other)
4160 def copy_sign(self, a, b):
4166 >>> ExtendedContext.copy_sign(Decimal( '1.50'), Decimal('7.33'))
4168 >>> ExtendedContext.copy_sign(Decimal('-1.50'), Decimal('7.33'))
4170 >>> ExtendedContext.copy_sign(Decimal( '1.50'), Decimal('-7.33'))
4172 >>> ExtendedContext.copy_sign(Decimal('-1.50'), Decimal('-7.33'))
4174 >>> ExtendedContext.copy_sign(1, -2)
4176 >>> ExtendedContext.copy_sign(Decimal(1), -2)
4178 >>> ExtendedContext.copy_sign(1, Decimal(-2))
4182 return a.copy_sign(b)