Skip to content

Commit 1fc3ac3

Browse files
authored
Merge pull request #245 from fastfloat/removing_dead_function
removing unused function
2 parents 7c19caf + 56a0092 commit 1fc3ac3

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

include/fast_float/ascii_number.h

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -123,24 +123,6 @@ uint64_t simd_read8_to_u64(UC const*) {
123123
return 0;
124124
}
125125

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-
144126
// credit @aqrit
145127
fastfloat_really_inline FASTFLOAT_CONSTEXPR14
146128
uint32_t parse_eight_digits_unrolled(uint64_t val) {

0 commit comments

Comments
 (0)