ClickHouse/src/Functions/erf.cpp
2022-01-22 18:44:36 +00:00

20 lines
356 B
C++

#include <Functions/FunctionMathUnary.h>
#include <Functions/FunctionFactory.h>
namespace DB
{
namespace
{
struct ErfName { static constexpr auto name = "erf"; };
using FunctionErf = FunctionMathUnary<UnaryFunctionVectorized<ErfName, std::erf>>;
}
void registerFunctionErf(FunctionFactory & factory)
{
factory.registerFunction<FunctionErf>();
}
}