1
0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-11-22 23:52:08 +01:00
Commit Graph

2 Commits

Author SHA1 Message Date
Joe Marshall
2907fdebe6
Update vendored double-conversion to 3.2.1 (#570)
Doing so allows for building on webassembly. Officially declareing support for WASM
however will have to wait until https://github.com/pyodide/pytest-pyodide/pull/59 is
merged to facilitate testing WASM compatibility.
2022-11-03 19:54:52 +00:00
Joakim Hamren
eb7d894f22 Integrated google's double-conversion lib
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.
2017-02-14 12:20:04 +01:00