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