Crow/include/crow/middlewares
JuneHan 973d5fa1cd
fix: minimize the precision loss when dumping double to string (#712)
* fix: minimize the precision loss when dumping double to string
* abandon one-time macro
* replace hard-coded buffer size, replace `sprintf` with `snprintf`
* replace `DECIMAL_DIG` with `DBL_DECIMAL_DIG`
* Update json.h changed to C++11 DECIMAL_DIGIT
* added cfloat include
* identify float and double as different numeral types, and approach their precisions accordingly

---------

Co-authored-by: June Han <jun_h@pretia.co.jp>
Co-authored-by: gittiver <gulliver@traumkristalle.net>
2024-01-29 15:25:26 +01:00
..
cookie_parser.h fix friend declarations 2022-11-08 10:32:37 +01:00
cors.h Add inline decl to CORSRules helpers 2022-04-08 14:00:17 +03:00
session.h fix: minimize the precision loss when dumping double to string (#712) 2024-01-29 15:25:26 +01:00
utf-8.h improved bracing rules, commented out clang-format 14 rule 2021-11-27 15:28:50 +03:00