MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / is_integer

Function is_integer

app/src/ThirdParty/fast_float.h:1707–1709  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1705// able to optimize it well.
1706template <typename UC>
1707fastfloat_really_inline constexpr bool is_integer(UC c) noexcept {
1708 return (unsigned)(c - UC('0')) <= 9u;
1709}
1710
1711fastfloat_really_inline constexpr uint64_t byteswap(uint64_t val) {
1712 return (val & 0xFF00000000000000) >> 56 | (val & 0x00FF000000000000) >> 40 |

Calls

no outgoing calls

Tested by

no test coverage detected