ClickHouse/src/Functions/atanh.cpp
Konstantin Malanchev 7d138ae717 clang-format
2020-11-04 12:30:40 +01:00

22 lines
388 B
C++

#include <Functions/FunctionFactory.h>
#include <Functions/FunctionMathUnary.h>
namespace DB
{
namespace
{
struct AtanhName
{
static constexpr auto name = "atanh";
};
using FunctionAtanh = FunctionMathUnary<UnaryFunctionVectorized<AtanhName, atanh>>;
}
void registerFunctionAtanh(FunctionFactory & factory)
{
factory.registerFunction<FunctionAtanh>();
}
}