ClickHouse/src/Functions/lgamma.cpp

16 lines
357 B
C++
Raw Normal View History

2019-08-01 00:29:32 +00:00
#include <Functions/FunctionMathUnary.h>
#include <Functions/FunctionFactory.h>
namespace DB
{
struct LGammaName { static constexpr auto name = "lgamma"; };
2019-08-01 00:29:32 +00:00
using FunctionLGamma = FunctionMathUnary<UnaryFunctionPlain<LGammaName, std::lgamma>>;
void registerFunctionLGamma(FunctionFactory & factory)
{
factory.registerFunction<FunctionLGamma>();
}
}