mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 04:22:03 +00:00
21 lines
405 B
C++
21 lines
405 B
C++
#include <Functions/FunctionMathUnary.h>
|
|
#include <Functions/FunctionFactory.h>
|
|
#include <common/preciseExp10.h>
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
|
|
struct Exp10Name { static constexpr auto name = "exp10"; };
|
|
using FunctionExp10 = FunctionMathUnary<UnaryFunctionVectorized<Exp10Name, preciseExp10>>;
|
|
|
|
}
|
|
|
|
void registerFunctionExp10(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionExp10>();
|
|
}
|
|
|
|
}
|