Compares self to the other operand numerically. It's pretty much like compare(), but all NaNs signal, with signaling NaNs taking precedence over quiet NaNs.
(self, other, context=None)
| 2886 | return self |
| 2887 | |
| 2888 | def compare_signal(self, other, context=None): |
| 2889 | """Compares self to the other operand numerically. |
| 2890 | |
| 2891 | It's pretty much like compare(), but all NaNs signal, with signaling |
| 2892 | NaNs taking precedence over quiet NaNs. |
| 2893 | """ |
| 2894 | other = _convert_other(other, raiseit = True) |
| 2895 | ans = self._compare_check_nans(other, context) |
| 2896 | if ans: |
| 2897 | return ans |
| 2898 | return self.compare(other, context=context) |
| 2899 | |
| 2900 | def compare_total(self, other, context=None): |
| 2901 | """Compares self to other using the abstract representations. |