aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/cosh.cpp
blob: 54b52051aab29d51d3e7c52d42aa6d6ce36de73e (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 CoshName
    {
        static constexpr auto name = "cosh";
    };
    using FunctionCosh = FunctionMathUnary<UnaryFunctionVectorized<CoshName, cosh>>;

}

REGISTER_FUNCTION(Cosh)
{
    factory.registerFunction<FunctionCosh>();
}

}