mirror of
https://github.com/ultrajson/ultrajson.git
synced 2024-05-28 14:06:34 +02:00
eb7d894f22
To fix issues with floating-point precision we've made use of Google's double-conversion lib to handle conversions of doubles to and from strings. In addition to fixing our precision problems this will improve double encoding by 4-5x. Decoding is however slightly slower according to the benchmarks - but accurate at least. This change removes the double_precision encoding option and the precise_float decoding option.
3 lines
65 B
CMake
3 lines
65 B
CMake
set(double-conversion_INCLUDE_DIRS
|
|
"@PROJECT_SOURCE_DIR@/src")
|