#include #include namespace DB { namespace { struct IsNaNImpl { static constexpr auto name = "isNaN"; template static bool execute(const T t) { /// Suppression for PVS-Studio. return t != t; //-V501 } }; using FunctionIsNaN = FunctionNumericPredicate; } REGISTER_FUNCTION(IsNaN) { factory.registerFunction(); } }