WIP: FloatOptional GCC build fix and more constexpr #1411

Closed
NickGerleman wants to merge 22 commits from NickGerleman-fix-gcc-floatoptional into main
3 changed files with 18 additions and 21 deletions
Showing only changes of commit ff8fe7d883 - Show all commits

View File

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