mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 20:42:04 +00:00
20 lines
365 B
C++
20 lines
365 B
C++
|
#include <Functions/FunctionMathUnary.h>
|
||
|
#include <Functions/FunctionFactory.h>
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
namespace
|
||
|
{
|
||
|
|
||
|
struct AtanhName { static constexpr auto name = "atanh"; };
|
||
|
using FunctionAtanh = FunctionMathUnary<UnaryFunctionVectorized<AtanhName, atanh>>;
|
||
|
|
||
|
}
|
||
|
|
||
|
void registerFunctionAtanh(FunctionFactory & factory)
|
||
|
{
|
||
|
factory.registerFunction<FunctionAtanh>();
|
||
|
}
|
||
|
|
||
|
}
|