Skip to content

Commit

Permalink
Debug ppc failure
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed May 31, 2022
1 parent bfc5767 commit a2681aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -1318,8 +1318,10 @@ template <int> constexpr int check_digits();

// A double-double floating point number.
template <typename T>
struct float_info<T, enable_if_t<!std::numeric_limits<T>::is_iec559 &&
!is_float128<T>::value>> {
struct float_info<T, enable_if_t<!(std::numeric_limits<T>::digits == 64 ||
std::numeric_limits<T>::digits == 113 ||
is_float128<T>::value) &&
std::is_same<T, long double>::value>> {
static constexpr int check = check_digits<std::numeric_limits<T>::digits>();
using carrier_uint = detail::uint128_t;
};
Expand Down

0 comments on commit a2681aa

Please sign in to comment.