ClickHouse/dbms/src/Functions/acos.cpp

16 lines
375 B
C++
Raw Normal View History

2019-08-01 00:29:32 +00:00
#include <Functions/FunctionMathUnary.h>
#include <Functions/FunctionFactory.h>
namespace DB
{
struct AcosName { static constexpr auto name = "acos"; };
2019-08-01 00:29:32 +00:00
using FunctionAcos = FunctionMathUnary<UnaryFunctionVectorized<AcosName, acos>>;
void registerFunctionAcos(FunctionFactory & factory)
{
factory.registerFunction<FunctionAcos>(FunctionFactory::CaseInsensitive);
}
}