1 | #include <Functions/FunctionMathBinaryFloat64.h> |
---|---|
2 | #include <Functions/FunctionFactory.h> |
3 | |
4 | namespace DB |
5 | { |
6 | |
7 | struct PowName { static constexpr auto name = "pow"; }; |
8 | using FunctionPow = FunctionMathBinaryFloat64<BinaryFunctionVectorized<PowName, pow>>; |
9 | |
10 | void registerFunctionPow(FunctionFactory & factory) |
11 | { |
12 | factory.registerFunction<FunctionPow>(FunctionFactory::CaseInsensitive); |
13 | factory.registerAlias("power", "pow", FunctionFactory::CaseInsensitive); |
14 | } |
15 | |
16 | } |
17 |