ClickHouse/src/Functions/log1p.cpp

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

22 lines
359 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>>;
}
REGISTER_FUNCTION(Log1p)
{
factory.registerFunction<FunctionLog1p>();
}
}