mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 20:42:04 +00:00
21 lines
366 B
C++
21 lines
366 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>>;
|
|
|
|
}
|
|
|
|
REGISTER_FUNCTION(Atan)
|
|
{
|
|
factory.registerFunction<FunctionAtan>({}, FunctionFactory::CaseInsensitive);
|
|
}
|
|
|
|
}
|