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