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
Probably, we should just return 0 instead (if the rhs doesn't fit in mp_bitcnt_t), something that CPython does.
0
mp_bitcnt_t
Perhaps, this will address that Sage failure: sagemath/sage#38565 (comment)
I'll work on a patch.
The text was updated successfully, but these errors were encountered:
Avoid OverflowError in mpz.__rshift__()
7a64415
Closes aleaxit#524
a0d8cc8
Successfully merging a pull request may close this issue.
Probably, we should just return
0
instead (if the rhs doesn't fit inmp_bitcnt_t
), something that CPython does.Perhaps, this will address that Sage failure: sagemath/sage#38565 (comment)
I'll work on a patch.
The text was updated successfully, but these errors were encountered: