mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-12 02:23:14 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
16 lines
357 B
C++
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>();
|
|
}
|
|
|
|
}
|