1#include <Functions/FunctionMathUnary.h>
2#include <Functions/FunctionFactory.h>
3
4namespace DB
5{
6
7struct CosName { static constexpr auto name = "cos"; };
8using FunctionCos = FunctionMathUnary<UnaryFunctionVectorized<CosName, cos>>;
9
10void registerFunctionCos(FunctionFactory & factory)
11{
12 factory.registerFunction<FunctionCos>(FunctionFactory::CaseInsensitive);
13}
14
15}
16