-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
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
fix overflow bug in prevpow #43410
fix overflow bug in prevpow #43410
Conversation
Needs a test |
I think this is still not fully correct since |
That would be a somewhat breaking change since it would change the return type. |
TLDR is I think that the correct behavior here is either this or to throw an error, which we can't do easily (since there is no |
@simeonschaub do you think this is mergable as is? |
Might a well do a pkgeval? |
|
@nanosoldier |
Your package evaluation job has completed - possible new issues were detected. A full report can be found here. |
Looks ok. |
Merging monday sans objections |
Previously
prevpow(10, 1234567890123456789)
gave-8446744073709551616
due to integer overflow.