| 1 | #include <Functions/FunctionMathUnary.h> |
|---|---|
| 2 | #include <Functions/FunctionFactory.h> |
| 3 | |
| 4 | namespace DB |
| 5 | { |
| 6 | |
| 7 | struct ErfcName { static constexpr auto name = "erfc"; }; |
| 8 | using FunctionErfc = FunctionMathUnary<UnaryFunctionPlain<ErfcName, std::erfc>>; |
| 9 | |
| 10 | void registerFunctionErfc(FunctionFactory & factory) |
| 11 | { |
| 12 | factory.registerFunction<FunctionErfc>(); |
| 13 | } |
| 14 | |
| 15 | } |
| 16 |