aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/erfc.cpp
blob: 7596d18ebdea756cf098d528bfd0d26998e74db6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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>>;

}

REGISTER_FUNCTION(Erfc)
{
    factory.registerFunction<FunctionErfc>();
}

}