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