Skip to content
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

Revert gmp overflow #16934

Closed
wants to merge 3 commits into from
Closed

Conversation

devnexen
Copy link
Member

No description provided.

@devnexen
Copy link
Member Author

devnexen commented Nov 25, 2024

cc @Girgias is there any other need to revert a commit ? keeping as place holder for now.

@cmb69
Copy link
Member

cmb69 commented Nov 25, 2024

See #16870 (comment). I still don't think we should revert.

@devnexen
Copy link
Member Author

I keep as draft atm anyway.

@cmb69 cmb69 linked an issue Nov 26, 2024 that may be closed by this pull request
@devnexen
Copy link
Member Author

fair enough, once @Girgias validate the list of commits to revert, I ll proceed. Best we can, eventually, is to document the behavior ?

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the NEWS remark, LGTM.

NEWS Outdated
Comment on lines 119 to 126
- GMP:
. Fixed floating point exception bug with gmp_pow when using
large exposant values. (David Carlier).
. Fixed bug GH-16411 (gmp_export() can cause overflow). (cmb)
. Fixed bug GH-16501 (gmp_random_bits() can cause overflow).
(David Carlier)
. Fixed gmp_pow() overflow bug with large base/exponents.
(David Carlier)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should edit the NEWS file for prior entries, better to leave them and add new NEWS entries.

@devnexen
Copy link
Member Author

Merged with 45140e5

@devnexen devnexen closed this Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gmp_pow(64, 11) throws overflow exception
3 participants