ClickHouse/src/Functions/acos.cpp
2022-08-27 22:06:57 +02:00

21 lines
366 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>>;
}
REGISTER_FUNCTION(Acos)
{
factory.registerFunction<FunctionAcos>({}, FunctionFactory::CaseInsensitive);
}
}