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

Prevent crash in GMPy_MPFR_Format() #526

Merged
merged 1 commit into from
Dec 22, 2024

Conversation

skirpichev
Copy link
Contributor

@skirpichev skirpichev commented Oct 23, 2024

Closes #522

See #522 (comment)

@skirpichev
Copy link
Contributor Author

@casevh, should I rephrase error message? E.g. include references to digits methods/function?

@casevh
Copy link
Collaborator

casevh commented Nov 29, 2024

@casevh, should I rephrase error message? E.g. include references to digits methods/function?

Yes, I think that would be great. Something like "The maximum precision for string formatting exceeded. Please use gmpy2.digits() or mpft.digits()."

@skirpichev
Copy link
Contributor Author

@casevh, rephrased.

@casevh casevh merged commit 1ccd629 into aleaxit:master Dec 22, 2024
11 checks passed
@skirpichev skirpichev deleted the fix-crash-in-format branch December 22, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Still having large bit precision calculation issues
2 participants