Nigel Tao
4d449dc663
Rename ieee_754_bit_representation functions
2020-07-12 11:00:47 +10:00
Nigel Tao
c5c9885db4
Add PARSE_NUMBER_XXX__ALLOW_UNDERSCORES
2020-07-11 13:10:14 +10:00
Nigel Tao
e82bc8ec7b
Add PARSE_NUMBER_XXX__ALLOW_MULTIPLE_LEADING_Z...
2020-07-11 12:57:25 +10:00
Nigel Tao
4d61a056e0
Add PARSE_NUMBER_FXX__REJECT_INF_AND_NAN
2020-07-11 12:34:40 +10:00
Nigel Tao
e0c5de9d8d
Add PARSE_NUMBER_FXX__DECIMAL_SEPARATOR_IS_A_COMMA
2020-07-11 12:14:39 +10:00
Nigel Tao
e722bb095c
Fix #ifdef guarding the use of __uint128_t
2020-07-10 20:33:09 +10:00
Nigel Tao
bff01d7ea8
Add comment linking to previous commit's numbers
2020-07-10 12:15:09 +10:00
Nigel Tao
18449ad75d
Optimize 128-bit muls in parse_number_f64_eisel
...
Processing citylots.json from github.com/zemirco/sf-city-lots-json
$ cc -O3 script/process-json-numbers.c
$ time ./a.out --parse-number-f64 < citylots.json
gcc 9.3 Before/After
real 0m0.638s
real 0m0.609s
clang 9.0 Before/After
real 0m0.692s
real 0m0.685s
x86_64 Broadwell desktop CPU.
2020-07-10 12:11:26 +10:00
Nigel Tao
74d4af66e4
Refactor 128-bit muls in parse_number_f64_eisel
2020-07-10 11:27:17 +10:00
Nigel Tao
ca55cdbef0
Rename {f64,i64}conv to {float,int}conv
2020-07-09 21:15:36 +10:00