ClickHouse/src/Functions/cbrt.cpp
2020-04-03 18:14:31 +03:00

16 lines
343 B
C++

#include <Functions/FunctionMathUnary.h>
#include <Functions/FunctionFactory.h>
namespace DB
{
struct CbrtName { static constexpr auto name = "cbrt"; };
using FunctionCbrt = FunctionMathUnary<UnaryFunctionVectorized<CbrtName, cbrt>>;
void registerFunctionCbrt(FunctionFactory & factory)
{
factory.registerFunction<FunctionCbrt>();
}
}