mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 05:22:17 +00:00
21 lines
391 B
C++
21 lines
391 B
C++
#include <Functions/FunctionMathUnary.h>
|
|
#include <Functions/FunctionFactory.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
|
|
struct AcosName { static constexpr auto name = "acos"; };
|
|
using FunctionAcos = FunctionMathUnary<UnaryFunctionVectorized<AcosName, acos>>;
|
|
|
|
}
|
|
|
|
void registerFunctionAcos(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionAcos>(FunctionFactory::CaseInsensitive);
|
|
}
|
|
|
|
}
|