mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
20 lines
358 B
C++
20 lines
358 B
C++
#include <Functions/FunctionMathUnary.h>
|
|
#include <Functions/FunctionFactory.h>
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
|
|
struct ErfcName { static constexpr auto name = "erfc"; };
|
|
using FunctionErfc = FunctionMathUnary<UnaryFunctionPlain<ErfcName, std::erfc>>;
|
|
|
|
}
|
|
|
|
void registerFunctionErfc(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionErfc>();
|
|
}
|
|
|
|
}
|