mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
22 lines
388 B
C++
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>();
|
|
}
|
|
|
|
}
|