mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
21 lines
391 B
C++
21 lines
391 B
C++
#include <Functions/FunctionMathUnary.h>
|
|
#include <Functions/FunctionFactory.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
|
|
struct AtanName { static constexpr auto name = "atan"; };
|
|
using FunctionAtan = FunctionMathUnary<UnaryFunctionVectorized<AtanName, atan>>;
|
|
|
|
}
|
|
|
|
void registerFunctionAtan(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionAtan>(FunctionFactory::CaseInsensitive);
|
|
}
|
|
|
|
}
|