ClickHouse/src/Functions/sinh.cpp

22 lines
352 B
C++
Raw Normal View History

#include <Functions/FunctionFactory.h>
2020-11-03 15:32:04 +00:00
#include <Functions/FunctionMathUnary.h>
namespace DB
{
namespace
{
2020-11-03 15:32:04 +00:00
struct SinhName
{
static constexpr auto name = "sinh";
};
using FunctionSinh = FunctionMathUnary<UnaryFunctionVectorized<SinhName, sinh>>;
}
REGISTER_FUNCTION(Sinh)
{
factory.registerFunction<FunctionSinh>();
}
}