| 1026 | // able to optimize it well. |
| 1027 | template <typename UC> |
| 1028 | fastfloat_really_inline constexpr bool is_integer(UC c) noexcept { |
| 1029 | return !(c > UC('9') || c < UC('0')); |
| 1030 | } |
| 1031 | |
| 1032 | fastfloat_really_inline constexpr uint64_t byteswap(uint64_t val) { |
| 1033 | return (val & 0xFF00000000000000) >> 56 | (val & 0x00FF000000000000) >> 40 | |