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