ClickHouse/dbms/src/Functions/cbrt.cpp

16 lines
357 B
C++
Raw Normal View History

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