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