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