Nigel Tao
d587c9e4fa
Add medium-precision-binary floating point impl
...
name old time/op new time/op delta
strconv_parse_number_f64_1_lsh53_add0/clang5 218ns ± 1% 100ns ± 0% -54.13% (p=0.016 n=5+4)
strconv_parse_number_f64_1_lsh53_add1/clang5 716ns ± 2% 741ns ± 1% +3.46% (p=0.008 n=5+5)
strconv_parse_number_f64_pi_long/clang5 438ns ± 2% 153ns ± 1% -65.19% (p=0.008 n=5+5)
strconv_parse_number_f64_pi_short/clang5 174ns ± 2% 62ns ± 2% -64.37% (p=0.008 n=5+5)
strconv_parse_number_f64_1_lsh53_add0/gcc7 221ns ± 1% 97ns ± 4% -56.25% (p=0.008 n=5+5)
strconv_parse_number_f64_1_lsh53_add1/gcc7 742ns ± 1% 757ns ± 0% +2.02% (p=0.008 n=5+5)
strconv_parse_number_f64_pi_long/gcc7 477ns ± 1% 151ns ± 3% -68.40% (p=0.008 n=5+5)
strconv_parse_number_f64_pi_short/gcc7 191ns ± 1% 55ns ± 0% -71.14% (p=0.000 n=5+4)
2020-03-31 22:18:54 +11:00
Nigel Tao
499ca132f6
Add wuffs_base__parse_number_f64
2020-03-11 11:41:32 +11:00
Nigel Tao
1ad5cfac4d
Make wuffs_base__{load,store}_uNNxe public
2020-02-27 10:58:14 +11:00
Nigel Tao
70db96ac6d
Add wuffs_base__parse_number_u64
2020-02-20 22:10:15 +11:00
Nigel Tao
8562951be6
Re-order "#ifdef __WORDSIZE" check
2020-01-13 21:06:22 +11:00
Nigel Tao
e9fa8d3c28
Add base.io_transformer
2020-01-11 21:47:30 +11:00
Nigel Tao
5bf070b187
Add a wuffs_base__vtable type
2020-01-06 12:02:41 +11:00
Nigel Tao
0fa32bd09f
Rename warnings to notes
2020-01-05 13:15:00 +11:00
Nigel Tao
e6db7f6a40
Make wuffs_base__status a struct
2020-01-05 10:48:20 +11:00
Nigel Tao
fb54ba452f
Add wuffs_base__make_status
2020-01-02 20:44:23 +11:00
Nigel Tao
355a95eeea
Add wuffs_base__status__message
2019-12-15 13:31:17 +11:00
Nigel Tao
f32ad2869c
Add doc/note/statuses.md
2019-12-12 15:04:39 +11:00
Nigel Tao
b45b28daf8
Rename doc/note/zero-initialization.md
2019-11-22 08:41:14 +11:00
Nigel Tao
f10849d20b
Add doc/note/zero-initialization.md
2019-11-14 20:45:48 +11:00
Nigel Tao
cdb60a950d
Tweak LEAVE_INTERNAL_BUFFERS_UNINITIALIZED comment
2019-10-23 20:18:17 +11:00
Nigel Tao
b0f18dacbd
Remove deprecated wuffs_base__null_etc functions
2019-10-05 16:27:53 +10:00
Nigel Tao
392c8c544a
Rename null_io_buffer etc to empty_io_buffer
2019-07-13 10:55:51 +10:00
Nigel Tao
7416111b9e
Add FourCC constants
2019-04-20 11:44:49 +10:00
Nigel Tao
d8b5128c09
Compile cleanly with clang++
2019-04-07 16:16:14 +10:00
Nigel Tao
665355bd8a
Fix some -Wconversion warnings
2019-04-07 14:55:32 +10:00
Nigel Tao
ed52fdecb9
Rework how we avoid clang's -Wunused-function
...
The previous technique to avoid this was to have explicit
(void)(wuffs_foo__bar_baz);
no-op lines of code. However, on MSVC, this triggers warning C4551
"function call missing argument list".
https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4551
says that "A function call must include the open and close parentheses".
But this is not a function call, it is casting the function pointer.
This false positive is a bug in MSVC, but we work around it for Wuffs.
2019-04-07 14:36:09 +10:00
Nigel Tao
5a98f06cab
Add some make_foo and null_foo constructors
2019-03-09 14:50:32 +11:00
Nigel Tao
6826f2f748
Move internal/cgen up a couple of directories
2019-03-09 13:28:59 +11:00