(self)
Returns a copy with the sign inverted.
Returns a copy with the sign inverted.
Returns a copy with the sign inverted .
def copy_negate(self):
        """Returns a copy with the sign inverted."""
        if self._sign:
            return _dec_from_triple(0, self._int, self._exp, self._is_special)
        else:
            return _dec_from_triple(1, self._int, self._exp, self._is_special)
def copy_negate ( self ) : if self . _sign : return _dec_from_triple ( 0 , self . _int , self . _exp , self . _is_special ) else : return _dec_from_triple ( 1 , self . _int , self . _exp , self . _is_special )