Skip to content

Add pretty_dps context property to control number of printed digits#933

Merged
skirpichev merged 1 commit intompmath:masterfrom
skirpichev:repr_dps
Apr 5, 2025
Merged

Add pretty_dps context property to control number of printed digits#933
skirpichev merged 1 commit intompmath:masterfrom
skirpichev:repr_dps

Conversation

@skirpichev
Copy link
Copy Markdown
Collaborator

Closes #921

@skirpichev
Copy link
Copy Markdown
Collaborator Author

CC @fredrik-johansson

@skirpichev
Copy link
Copy Markdown
Collaborator Author

I'm going to merge this over #927. This solution has no compatibility breaks, though I think that #927 is better.

@skirpichev skirpichev merged commit 33bf8a4 into mpmath:master Apr 5, 2025
11 checks passed
@skirpichev skirpichev deleted the repr_dps branch April 5, 2025 03:53
@skirpichev skirpichev added this to the 1.4 milestone May 9, 2025
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.

str and repr with pretty=True

1 participant