From 71778e8b90523a025cee362fb72aace5facd3bf5 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 19 Mar 2022 08:39:16 -0700 Subject: [PATCH] Specialize float_info for __float128 --- include/fmt/format.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 6ab6232e..b1078ca2 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1271,7 +1271,8 @@ template <> struct float_info { // An 80- or 128-bit floating point number. template struct float_info::digits == 64 || - std::numeric_limits::digits == 113>> { + std::numeric_limits::digits == 113 || + is_float128::value>> { using carrier_uint = detail::uint128_t; static const int exponent_bits = 15; };