ClickHouse/src/Functions/log1p.cpp
Konstantin Malanchev 7d138ae717 clang-format
2020-11-04 12:30:40 +01:00

22 lines
388 B
C++

#include <Functions/FunctionFactory.h>
#include <Functions/FunctionMathUnary.h>
namespace DB
{
namespace
{
struct Log1pName
{
static constexpr auto name = "log1p";
};
using FunctionLog1p = FunctionMathUnary<UnaryFunctionVectorized<Log1pName, log1p>>;
}
void registerFunctionLog1p(FunctionFactory & factory)
{
factory.registerFunction<FunctionLog1p>();
}
}