mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +00:00
hip workaround
This commit is contained in:
parent
40e414d823
commit
0b0f7cfbfc
@ -1625,7 +1625,9 @@ auto snprintf_float(T value, int precision, float_specs specs,
|
|||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
using convert_float_result =
|
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>;
|
double, T>;
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
Loading…
Reference in New Issue
Block a user