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
The current Signum model is basically a terse comparison result with some integer-like utilities. It is apparent—since BinaryInteger got operations like as isNegative, isZero, and isPositive—that Signum would be much more interger-like if its cases were negative, zero, and positive. In that case, operations like isNegative, isZero, and isPositive would make sense on Signum too. It might result in less context switching, or something to that effect.
The text was updated successfully, but these errors were encountered:
The current
Signum
model is basically a terse comparison result with some integer-like utilities. It is apparent—sinceBinaryInteger
got operations like asisNegative
,isZero
, andisPositive
—thatSignum
would be much more interger-like if its cases werenegative
,zero
, andpositive
. In that case, operations likeisNegative
,isZero
, andisPositive
would make sense onSignum
too. It might result in less context switching, or something to that effect.The text was updated successfully, but these errors were encountered: