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