mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 08:46:49 +08:00
removing unused function
This commit is contained in:
parent
7c19cafa93
commit
56a0092895
@ -123,24 +123,6 @@ uint64_t simd_read8_to_u64(UC const*) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
fastfloat_really_inline FASTFLOAT_CONSTEXPR20
|
|
||||||
void write_u64(uint8_t *chars, uint64_t val) {
|
|
||||||
if (cpp20_and_in_constexpr()) {
|
|
||||||
for(int i = 0; i < 8; ++i) {
|
|
||||||
*chars = uint8_t(val);
|
|
||||||
val >>= 8;
|
|
||||||
++chars;
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
#if FASTFLOAT_IS_BIG_ENDIAN == 1
|
|
||||||
// Need to read as-if the number was in little-endian order.
|
|
||||||
val = byteswap(val);
|
|
||||||
#endif
|
|
||||||
::memcpy(chars, &val, sizeof(uint64_t));
|
|
||||||
}
|
|
||||||
|
|
||||||
// credit @aqrit
|
// credit @aqrit
|
||||||
fastfloat_really_inline FASTFLOAT_CONSTEXPR14
|
fastfloat_really_inline FASTFLOAT_CONSTEXPR14
|
||||||
uint32_t parse_eight_digits_unrolled(uint64_t val) {
|
uint32_t parse_eight_digits_unrolled(uint64_t val) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user