-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- The specializations of Stringify for float and double were not actually specializations. Rather they were a separate base template. - The specializations weren't getting called by the test cases - The specializations contained a bug where the stringstream was not cleared before new data was piped in - The cleanest exact representation of a floating point type T comes from setprecision(std::numerics_limits<T>::max_digits10), not from setprecision(30).
- Loading branch information
1 parent
abe51bb
commit 3e48587
Showing
2 changed files
with
65 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters