-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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: prettier floating point numbers #1293
Merged
Merged
Commits on Oct 21, 2024
-
fix: prettier floating point numbers
Add dragonbox to compute the required precision to print floating point numbers. This avoids uglification of floating point numbers that happen by default via std::stringstream. Numbers like 34.34 used to be converted to '34.340000000000003' as strings. With this version they will be converted to the string '34.34'. This fixes issue jbeder#1289
Configuration menu - View commit details
-
Copy full SHA for 7476d1f - Browse repository at this point
Copy the full SHA 7476d1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b27962 - Browse repository at this point
Copy the full SHA 9b27962View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54dd046 - Browse repository at this point
Copy the full SHA 54dd046View commit details -
Configuration menu - View commit details
-
Copy full SHA for e63f4da - Browse repository at this point
Copy the full SHA e63f4daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58b7a3c - Browse repository at this point
Copy the full SHA 58b7a3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dcc526 - Browse repository at this point
Copy the full SHA 6dcc526View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07edac1 - Browse repository at this point
Copy the full SHA 07edac1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 209c190 - Browse repository at this point
Copy the full SHA 209c190View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f9e01e - Browse repository at this point
Copy the full SHA 4f9e01eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb792ce - Browse repository at this point
Copy the full SHA bb792ceView commit details
Commits on Oct 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e3d3041 - Browse repository at this point
Copy the full SHA e3d3041View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5c162f - Browse repository at this point
Copy the full SHA a5c162fView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.