mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 04:42:37 +00:00
23 lines
340 B
C++
23 lines
340 B
C++
#include <Functions/FunctionFactory.h>
|
|
#include <Functions/FunctionMathUnary.h>
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
|
|
struct AsinhName
|
|
{
|
|
static constexpr auto name = "asinh";
|
|
};
|
|
using FunctionAsinh = FunctionMathUnary<UnaryFunctionVectorized<AsinhName, asinh>>;
|
|
|
|
}
|
|
|
|
REGISTER_FUNCTION(Asinh)
|
|
{
|
|
factory.registerFunction<FunctionAsinh>();
|
|
}
|
|
|
|
}
|