mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-12 22:50:04 +08:00
Only NaN and Inf are not less than Inf and the check for NaN is done before. Solves: .../fmt/include/fmt/format.h:2509:43: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2509 | return !detail::isnan(value) && value != inf && value != -inf; |
||
|---|---|---|
| .. | ||
| fmt | ||