1#include <Functions/FunctionMathUnary.h>
2#include <Functions/FunctionFactory.h>
3
4namespace DB
5{
6
7struct LGammaName { static constexpr auto name = "lgamma"; };
8using FunctionLGamma = FunctionMathUnary<UnaryFunctionPlain<LGammaName, std::lgamma>>;
9
10void registerFunctionLGamma(FunctionFactory & factory)
11{
12 factory.registerFunction<FunctionLGamma>();
13}
14
15}
16