ClickHouse/src/Functions/cosh.cpp

22 lines
381 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 CoshName
{
static constexpr auto name = "cosh";
};
using FunctionCosh = FunctionMathUnary<UnaryFunctionVectorized<CoshName, cosh>>;
}
void registerFunctionCosh(FunctionFactory & factory)
{
factory.registerFunction<FunctionCosh>();
}
}