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

Positive and Negative Zero Print Incorrect Precision #641

Open
BebeSparkelSparkel opened this issue Jan 15, 2024 · 0 comments
Open

Positive and Negative Zero Print Incorrect Precision #641

BebeSparkelSparkel opened this issue Jan 15, 2024 · 0 comments

Comments

@BebeSparkelSparkel
Copy link
Contributor

BebeSparkelSparkel commented Jan 15, 2024

The standard formatter outputs the incorrect precision for zero and negative zero due to the specialStr function not taking the specified precision into account and always outputting 0.0 and -0.0.

I have added tests in #638 that find this bug and #636 fixes this bug.

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

No branches or pull requests

1 participant