mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-26 20:30:06 +01: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;