ClickHouse/dbms/src/Functions/tgamma.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 TGammaName { static constexpr auto name = "tgamma"; };
2019-08-01 00:29:32 +00:00
using FunctionTGamma = FunctionMathUnary<UnaryFunctionPlain<TGammaName, std::tgamma>>;
void registerFunctionTGamma(FunctionFactory & factory)
{
factory.registerFunction<FunctionTGamma>();
}
}