ClickHouse/src/Functions/atanh.cpp

22 lines
359 B
C++
Raw Normal View History

#include <Functions/FunctionFactory.h>
2020-11-03 15:32:04 +00:00
#include <Functions/FunctionMathUnary.h>
namespace DB
{
namespace
{
2020-11-03 15:32:04 +00:00
struct AtanhName
{
static constexpr auto name = "atanh";
};
using FunctionAtanh = FunctionMathUnary<UnaryFunctionVectorized<AtanhName, atanh>>;
}
REGISTER_FUNCTION(Atanh)
{
factory.registerFunction<FunctionAtanh>();
}
}