diff --git a/include/fast_float/digit_comparison.h b/include/fast_float/digit_comparison.h index bd662b4..fd8c61d 100644 --- a/include/fast_float/digit_comparison.h +++ b/include/fast_float/digit_comparison.h @@ -386,8 +386,8 @@ negative_digit_comp(bigint &real_digits, adjusted_mantissa am, am_pow_t const theor_exp = theor.power2; // scale real digits and theor digits to be same power. - am_pow_t const pow2_exp = theor_exp - real_exp; - am_pow_t pow5_exp = -real_exp; + auto const pow2_exp = theor_exp - real_exp; + auto const pow5_exp = -real_exp; if (pow5_exp != 0) { FASTFLOAT_ASSERT(theor_digits.pow5(pow5_exp)); } diff --git a/include/fast_float/float_common.h b/include/fast_float/float_common.h index c7d4d78..16071bd 100644 --- a/include/fast_float/float_common.h +++ b/include/fast_float/float_common.h @@ -254,7 +254,7 @@ using parse_options = parse_options_t; namespace fast_float { template -constexpr fastfloat_really_inline To bit_cast(const From &from) noexcept { +fastfloat_really_inline constexpr To bit_cast(const From &from) noexcept { #if FASTFLOAT_HAS_BIT_CAST return std::bit_cast(from); #else