ClickHouse/src/Functions/asinh.cpp

22 lines
359 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 AsinhName
{
static constexpr auto name = "asinh";
};
using FunctionAsinh = FunctionMathUnary<UnaryFunctionVectorized<AsinhName, asinh>>;
}
REGISTER_FUNCTION(Asinh)
{
factory.registerFunction<FunctionAsinh>();
}
}