ClickHouse/src/Functions/exp10.cpp

21 lines
403 B
C++
Raw Normal View History

2019-08-01 00:29:32 +00:00
#include <Functions/FunctionMathUnary.h>
#include <Functions/FunctionFactory.h>
2021-10-02 07:13:14 +00:00
#include <base/preciseExp10.h>
namespace DB
{
2020-09-07 18:00:37 +00:00
namespace
{
struct Exp10Name { static constexpr auto name = "exp10"; };
using FunctionExp10 = FunctionMathUnary<UnaryFunctionVectorized<Exp10Name, preciseExp10>>;
2020-09-07 18:00:37 +00:00
}
void registerFunctionExp10(FunctionFactory & factory)
{
factory.registerFunction<FunctionExp10>();
}
}