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.
1 parent 11a6232 commit d4c573dCopy full SHA for d4c573d
include/fast_float/ascii_number.h
@@ -32,7 +32,7 @@ template <typename UC> fastfloat_really_inline constexpr bool has_simd_opt() {
32
// able to optimize it well.
33
template <typename UC>
34
fastfloat_really_inline constexpr bool is_integer(UC c) noexcept {
35
- return static_cast<uint8_t>(c - '0') < 10;
+ return static_cast<uint8_t>(c - UC('0')) < 10;
36
}
37
38
fastfloat_really_inline constexpr uint64_t byteswap(uint64_t val) {
0 commit comments