#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; } void registerFunctionIsNaN(FunctionFactory & factory) { factory.registerFunction(); } }