ClickHouse/src/Functions/acos.cpp
2024-07-17 20:56:30 +00:00

21 lines
368 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::Case::Insensitive);
}
}