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