mirror of
https://github.com/fmtlib/fmt.git
synced 2025-02-14 09:39:51 +00:00
parent
17062a0c9b
commit
8a8f4825a3
@ -2695,7 +2695,7 @@ FMT_CONSTEXPR20 auto write_float(OutputIt out, const DecimalFP& f,
|
||||
}
|
||||
|
||||
template <typename T> constexpr auto isnan(T value) -> bool {
|
||||
return !(value >= value); // std::isnan doesn't support __float128.
|
||||
return value != value; // std::isnan doesn't support __float128.
|
||||
}
|
||||
|
||||
template <typename T, typename Enable = void>
|
||||
|
Loading…
x
Reference in New Issue
Block a user