aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/acos.cpp
blob: bc300ee77fb6c40a5d00a2c97fb3a2321736fcb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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);
}

}