We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
op_add
-1N + 1N == 0 // false println(-1N + 1N) // panics
In fact, -1N + 1N produces the following result:
-1N + 1N
{ limbs: [], sign: Positive, len: 0 }
but we expected 0N:
0N
{ limbs: [0], sign: Positive, len: 1 }
The text was updated successfully, but these errors were encountered:
qazxcdswe123
Successfully merging a pull request may close this issue.
In fact,
-1N + 1N
produces the following result:but we expected
0N
:The text was updated successfully, but these errors were encountered: