mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 12:32:04 +00:00
22 lines
381 B
C++
22 lines
381 B
C++
#include <Functions/FunctionFactory.h>
|
|
#include <Functions/FunctionMathUnary.h>
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
struct SinhName
|
|
{
|
|
static constexpr auto name = "sinh";
|
|
};
|
|
using FunctionSinh = FunctionMathUnary<UnaryFunctionVectorized<SinhName, sinh>>;
|
|
|
|
}
|
|
|
|
void registerFunctionSinh(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionSinh>();
|
|
}
|
|
|
|
}
|