mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
fae1c32267
The V8 behavior of encoding infinity as null doesn't make sense to me. Using ±1e5000 is better, because JSON.parse decodes it as INFINITY and the information is preserved. This could be a breaking change for some |
||
---|---|---|
.. | ||
test | ||
AUTHORS | ||
bignum-dtoa.cc | ||
bignum-dtoa.h | ||
bignum.cc | ||
bignum.h | ||
BUILD.mk | ||
cached-powers.cc | ||
cached-powers.h | ||
diy-fp.h | ||
double-conversion.h | ||
double-to-string.cc | ||
double-to-string.h | ||
dubble.c | ||
fast-dtoa.cc | ||
fast-dtoa.h | ||
fixed-dtoa.cc | ||
fixed-dtoa.h | ||
ieee.h | ||
LICENSE | ||
README.cosmo | ||
string-to-double.cc | ||
string-to-double.h | ||
strtod.cc | ||
strtod.h | ||
utils.h | ||
wrapper.cc | ||
wrapper.h |
DESCRIPTION Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles. ORIGIN double-conversion 3.2.0 https://github.com/google/double-conversion/archive/refs/tags/v3.2.0.zip 9e0c13564e17362aad8a32c1344a2214f71952c6 LICENSE BSD 3-Clause License LOCAL CHANGES - Use unassert() macro for undefined behavior on failed assertions