ClickHouse/src/Functions/exp10.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
374 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
}
REGISTER_FUNCTION(Exp10)
{
factory.registerFunction<FunctionExp10>();
}
}