aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/acosh.cpp
blob: 5b071da9c40739342bae59e0d8cf007dc8792985 (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 AcoshName
    {
        static constexpr auto name = "acosh";
    };
    using FunctionAcosh = FunctionMathUnary<UnaryFunctionVectorized<AcoshName, acosh>>;

}

REGISTER_FUNCTION(Acosh)
{
    factory.registerFunction<FunctionAcosh>();
}

}