mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 04:52:10 +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>();
|
|
}
|
|
|
|
}
|