You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is inconsistent. I propose making the arithmetic (as opposed to bitwise) unary operators also apply to bounds, when present, i.e. __abs__, __neg__, and __pos__ only.
The text was updated successfully, but these errors were encountered:
I think the change is correct, but the motivation was wrong. The motivation should have been to ensure that x - y is always the same as -y + x. The changes of this issue will make this so, regardless of the chosen treatment of bounds (see #146 for details).
Currently, unary operation do not apply to bounds, but equivalent binary operations do:
This is inconsistent. I propose making the arithmetic (as opposed to bitwise) unary operators also apply to bounds, when present, i.e.
__abs__
,__neg__
, and__pos__
only.The text was updated successfully, but these errors were encountered: