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 Neg function does not alter the fact that uint256 Ints are inherently unsigned. The Neg simply transforms it into another big unsigned number, which happens to be the negative complement.
But the Int has no internal notion of being negative, and cannot be made to output -
Hi. Thank you for your code. This might be out of scope, but I wondered if Dec() should be prefixed with a "-" when Sign < 0.
The text was updated successfully, but these errors were encountered: