mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +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>();
|
|
}
|
|
|
|
}
|