diff --git a/include/fast_float/float_common.h b/include/fast_float/float_common.h index 1db1695..fcb87d1 100644 --- a/include/fast_float/float_common.h +++ b/include/fast_float/float_common.h @@ -1134,8 +1134,10 @@ template fastfloat_really_inline constexpr uint8_t ch_to_digit(UC c) { // wchar_t and char can be signed, so we need to be careful. using UnsignedUC = typename std::make_unsigned::type; - return int_luts<>::chdigit[static_cast(static_cast(c) - & static_cast(-((static_cast(c) & ~0xFFull) == 0)))]; + return int_luts<>::chdigit[static_cast( + static_cast(c) & + static_cast( + -((static_cast(c) & ~0xFFull) == 0)))]; } fastfloat_really_inline constexpr size_t max_digits_u64(int base) {