This commit is contained in:
IRainman 2025-12-29 19:47:43 +03:00
parent 9a0fa4733c
commit f556a6875f
2 changed files with 3 additions and 3 deletions

View File

@ -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));
}

View File

@ -254,7 +254,7 @@ using parse_options = parse_options_t<char>;
namespace fast_float {
template <typename To, typename From>
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<To>(from);
#else