json/include
Kirill Lokotkov 1885f4bc5f
Fix for printing long doubles bug in dump_float
When you use long double as a floating point type with the current version of this file and try to dump json it prints trash instead of actual number. This if-else fixes the problem. On using long double you just need to add an 'L' modifier before 'g' in format string.
2023-01-25 18:33:40 +03:00
..
nlohmann Fix for printing long doubles bug in dump_float 2023-01-25 18:33:40 +03:00