mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 11:52:27 +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>();
|
|
}
|
|
|
|
}
|