diff --git a/include/fast_float/parse_number.h b/include/fast_float/parse_number.h index 0d2e221..027a723 100644 --- a/include/fast_float/parse_number.h +++ b/include/fast_float/parse_number.h @@ -418,7 +418,7 @@ FASTFLOAT_CONSTEXPR20 const bool is_negative = mantissa < 0; const uint64_t m = static_cast(is_negative ? -mantissa : mantissa); #endif - double value; + T value; if (clinger_fast_path_impl(m, decimal_exponent, #ifndef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN is_negative,