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