diff --git a/include/fmt/format.h b/include/fmt/format.h index 8d1be797..cc5b2e37 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1318,8 +1318,10 @@ template constexpr int check_digits(); // A double-double floating point number. template -struct float_info::is_iec559 && - !is_float128::value>> { +struct float_info::digits == 64 || + std::numeric_limits::digits == 113 || + is_float128::value) && + std::is_same::value>> { static constexpr int check = check_digits::digits>(); using carrier_uint = detail::uint128_t; };