ClickHouse/src/Functions/erf.cpp
2020-09-07 21:00:37 +03:00

20 lines
351 B
C++

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