aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/atanh.cpp
blob: fab25414725f6a9d81c1f5c6bc440c3702eb4e32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <Functions/FunctionFactory.h>
#include <Functions/FunctionMathUnary.h>

namespace DB
{
namespace
{
    struct AtanhName
    {
        static constexpr auto name = "atanh";
    };
    using FunctionAtanh = FunctionMathUnary<UnaryFunctionVectorized<AtanhName, atanh>>;

}

REGISTER_FUNCTION(Atanh)
{
    factory.registerFunction<FunctionAtanh>();
}

}