Eric Fischer
41c026796d
Port fix for array index out of bounds in decimal conversion
...
https://github.com/miloyip/dtoa-benchmark/issues/7
commit fe550f38669fe0f488926c1ef0feb6c101f586d6
Author: Eli Fidler <efidler@topologyinc.com>
Date: Tue May 31 11:51:37 2016 -0400
avoid array index out-of-bounds
UBSAN gave "runtime error: index 13 out of bounds for type 'const uint32_t [10]'"
2017-11-02 16:42:29 -07:00
Eric Fischer
84a6aa6d73
Use std::isinf() and std::isnan() instead of the C versions
...
According to https://github.com/mapbox/tippecanoe/issues/464 this
is necessary for g++-5 on Linux
2017-09-07 14:40:50 -07:00
Eric Fischer
15a48e67d6
Canonicalize numbers in stringified attributes so geobuf can match
2017-08-29 17:40:57 -07:00
Eric Fischer
12784de211
Produce "nan" and "inf" strings instead of aborting
2017-08-29 15:54:25 -07:00
Eric Fischer
228567364f
Remove the memmove I accidentally left in, corrupting small numbers
2017-08-29 15:43:16 -07:00
Eric Fischer
cef6b022dd
Fix the typo I made in the conversion to std::string
2017-08-29 14:58:16 -07:00
Eric Fischer
3840176d5c
Convert to output to std::string
2017-08-29 14:26:20 -07:00
Eric Fischer
5f09ccae88
Add namespace; fix warning
2017-08-29 13:31:59 -07:00
Eric Fischer
18b2a2c39c
Milo dtoa from https://github.com/miloyip/dtoa-benchmark
2017-08-29 12:51:59 -07:00