We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7c19caf + 56a0092 commit 1fc3ac3Copy full SHA for 1fc3ac3
include/fast_float/ascii_number.h
@@ -123,24 +123,6 @@ uint64_t simd_read8_to_u64(UC const*) {
123
return 0;
124
}
125
126
-
127
-fastfloat_really_inline FASTFLOAT_CONSTEXPR20
128
-void write_u64(uint8_t *chars, uint64_t val) {
129
- if (cpp20_and_in_constexpr()) {
130
- for(int i = 0; i < 8; ++i) {
131
- *chars = uint8_t(val);
132
- val >>= 8;
133
- ++chars;
134
- }
135
- return;
136
137
-#if FASTFLOAT_IS_BIG_ENDIAN == 1
138
- // Need to read as-if the number was in little-endian order.
139
- val = byteswap(val);
140
-#endif
141
- ::memcpy(chars, &val, sizeof(uint64_t));
142
-}
143
144
// credit @aqrit
145
fastfloat_really_inline FASTFLOAT_CONSTEXPR14
146
uint32_t parse_eight_digits_unrolled(uint64_t val) {
0 commit comments