- 15 Jan, 2018 7 commits
-
-
abolz authored
-
abolz authored
This is an attempt to fix #360. The algorithm produces decimal representations which are guaranteed to roundtrip and in ~99.8% actually produces the shortest possible representation. So this is a nice compromise between using a precision of digits10 and max_digits10. Note 1: The implementation only works for IEEE single/double precision numbers. So the old implementation is kept for compatibility with non-IEEE implementations and 'long double'. Note 2: If number_float_t is 'float', not all serialized numbers can be recovered using strtod (strtof works, though). (There is exactly one such number and the result is off by 1 ulp.) This can be avoided by changing the implementation (the fix is trivial), but then the resulting decimal numbers are not exactly short.
-
abolz authored
-
abolz authored
-
abolz authored
-
abolz authored
-
abolz authored
-
- 14 Jan, 2018 5 commits
-
-
Niels Lohmann authored
Fix/cmake install
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
- 13 Jan, 2018 5 commits
-
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
- 10 Jan, 2018 1 commit
-
-
Niels Lohmann authored
-
- 09 Jan, 2018 3 commits
-
-
Niels Lohmann authored
The tool used before created a lot of duplicates inside the generated amalgamation. The new tool is a single Python file which seems to do the same job.
-
Niels Lohmann authored
-
Niels Lohmann authored
Refactor/split it
-
- 08 Jan, 2018 19 commits
-
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-
Théo DELRIEU authored
-