mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
22 lines
388 B
C++
22 lines
388 B
C++
#include <Functions/FunctionFactory.h>
|
|
#include <Functions/FunctionMathUnary.h>
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
struct AcoshName
|
|
{
|
|
static constexpr auto name = "acosh";
|
|
};
|
|
using FunctionAcosh = FunctionMathUnary<UnaryFunctionVectorized<AcoshName, acosh>>;
|
|
|
|
}
|
|
|
|
void registerFunctionAcosh(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionAcosh>();
|
|
}
|
|
|
|
}
|