ClickHouse/src/Functions/cosh.cpp
Konstantin Malanchev 7d138ae717 clang-format
2020-11-04 12:30:40 +01:00

22 lines
381 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>>;
}
void registerFunctionCosh(FunctionFactory & factory)
{
factory.registerFunction<FunctionCosh>();
}
}