Skip to content

Commit

Permalink
[NOMERGE] fix: prettier floating point numbers
Browse files Browse the repository at this point in the history
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 will be converted to '34.340000000000003' as strings.
With this version they will be converted to the string '34.34'.
  • Loading branch information
SGSSGene committed Jul 6, 2024
1 parent 1d8ca1f commit f76eb1e
Show file tree
Hide file tree
Showing 5 changed files with 4,281 additions and 4 deletions.
Loading

0 comments on commit f76eb1e

Please sign in to comment.