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