ClickHouse/src/Functions/log1p.cpp

22 lines
388 B
C++
Raw Normal View History

#include <Functions/FunctionFactory.h>
2020-11-03 15:32:04 +00:00
#include <Functions/FunctionMathUnary.h>
namespace DB
{
namespace
{
2020-11-03 15:32:04 +00:00
struct Log1pName
{
static constexpr auto name = "log1p";
};
using FunctionLog1p = FunctionMathUnary<UnaryFunctionVectorized<Log1pName, log1p>>;
}
void registerFunctionLog1p(FunctionFactory & factory)
{
factory.registerFunction<FunctionLog1p>();
}
}