Merge pull request #327 from toughengineer/int_multiplication_by_power_of_10

Minor fix of forward declaration
This commit is contained in:
Daniel Lemire 2025-09-18 08:29:57 -06:00 committed by GitHub
commit 2d6574483d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,10 +60,8 @@ from_chars_advanced(UC const *first, UC const *last, T &value,
*/ */
FASTFLOAT_CONSTEXPR20 inline double FASTFLOAT_CONSTEXPR20 inline double
integer_times_pow10(uint64_t mantissa, int decimal_exponent) noexcept; integer_times_pow10(uint64_t mantissa, int decimal_exponent) noexcept;
FASTFLOAT_CONSTEXPR20 inline FASTFLOAT_CONSTEXPR20 inline double
typename std::enable_if<is_supported_float_type<double>::value, integer_times_pow10(int64_t mantissa, int decimal_exponent) noexcept;
double>::type
integer_times_pow10(int64_t mantissa, int decimal_exponent) noexcept;
/** /**
* from_chars for integer types. * from_chars for integer types.