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