ClickHouse/dbms/src/Functions/tgamma.cpp
2019-08-01 03:29:32 +03:00

16 lines
357 B
C++

#include <Functions/FunctionMathUnary.h>
#include <Functions/FunctionFactory.h>
namespace DB
{
struct TGammaName { static constexpr auto name = "tgamma"; };
using FunctionTGamma = FunctionMathUnary<UnaryFunctionPlain<TGammaName, std::tgamma>>;
void registerFunctionTGamma(FunctionFactory & factory)
{
factory.registerFunction<FunctionTGamma>();
}
}