Skip to content

Commit

Permalink
hip workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Sep 1, 2022
1 parent 40e414d commit 0b0f7cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/fmt/format.h
Expand Up @@ -1625,7 +1625,9 @@ auto snprintf_float(T value, int precision, float_specs specs,

template <typename T>
using convert_float_result =
conditional_t<std::is_same<T, float>::value || sizeof(T) == sizeof(double),
conditional_t<std::is_same<T, float>::value ||
std::numeric_limits<T>::digits ==
std::numeric_limits<double>::digits,
double, T>;

template <typename T>
Expand Down

0 comments on commit 0b0f7cf

Please sign in to comment.