Update Comparison.h

This commit is contained in:
Nick Gerleman
2023-10-03 16:55:05 -07:00
committed by GitHub
parent 3db2b2fc5f
commit ff8fe7d883

View File

@@ -16,7 +16,7 @@
namespace facebook::yoga {
constexpr bool isUndefined(std::floating_point auto value) {
// Can be replaced by constexpr std::isnan in C++ 23
// is NaN
return value != value;
}