blob: 0b9f0d5a0b647a79d4e841dd793085a9b9ff1889 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <Functions/FunctionMathUnary.h>
#include <Functions/FunctionFactory.h>
namespace DB
{
namespace
{
struct CbrtName { static constexpr auto name = "cbrt"; };
using FunctionCbrt = FunctionMathUnary<UnaryFunctionVectorized<CbrtName, cbrt>>;
}
REGISTER_FUNCTION(Cbrt)
{
factory.registerFunction<FunctionCbrt>();
}
}
|