Can confirm. With Xcode 13’s C++ compiler, the isnan function seems to always return false when compiling with optimisations and GCC_FAST_MATH. Damn, that’s well optimised! twitter.com/bukovinski/status/1438481013706039299