mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
f6c264b70b
* Every function in its own file, part 9 [#CLICKHOUSE-2] * Every function in its own file, part 9 [#CLICKHOUSE-2]
16 lines
357 B
C++
16 lines
357 B
C++
#include <Functions/FunctionMathUnaryFloat64.h>
|
|
#include <Functions/FunctionFactory.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
struct Exp2Name { static constexpr auto name = "exp2"; };
|
|
using FunctionExp2 = FunctionMathUnaryFloat64<UnaryFunctionVectorized<Exp2Name, exp2>>;
|
|
|
|
void registerFunctionExp2(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionExp2>();
|
|
}
|
|
|
|
}
|