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