Returns a copy with the sign inverted.
(self)
| 3031 | return _dec_from_triple(0, self._int, self._exp, self._is_special) |
| 3032 | |
| 3033 | def copy_negate(self): |
| 3034 | """Returns a copy with the sign inverted.""" |
| 3035 | if self._sign: |
| 3036 | return _dec_from_triple(0, self._int, self._exp, self._is_special) |
| 3037 | else: |
| 3038 | return _dec_from_triple(1, self._int, self._exp, self._is_special) |
| 3039 | |
| 3040 | def copy_sign(self, other, context=None): |
| 3041 | """Returns self with the sign of other.""" |
no test coverage detected