aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/sinh.cpp
blob: 2d83fad36dfc46302f4988950ac80200038e74be (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 SinhName
    {
        static constexpr auto name = "sinh";
    };
    using FunctionSinh = FunctionMathUnary<UnaryFunctionVectorized<SinhName, sinh>>;

}

REGISTER_FUNCTION(Sinh)
{
    factory.registerFunction<FunctionSinh>();
}

}