ClickHouse/src/Functions/cosh.cpp

23 lines
333 B
C++

#include <Functions/FunctionFactory.h>
#include <Functions/FunctionMathUnary.h>
namespace DB
{
namespace
{
struct CoshName
{
static constexpr auto name = "cosh";
};
using FunctionCosh = FunctionMathUnary<UnaryFunctionVectorized<CoshName, cosh>>;
}
REGISTER_FUNCTION(Cosh)
{
factory.registerFunction<FunctionCosh>();
}
}