blob: 32a0f06db8a315f8fed0c5a3946acc5d35f42eda (
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 AtanName { static constexpr auto name = "atan"; };
using FunctionAtan = FunctionMathUnary<UnaryFunctionVectorized<AtanName, atan>>;
}
REGISTER_FUNCTION(Atan)
{
factory.registerFunction<FunctionAtan>({}, FunctionFactory::CaseInsensitive);
}
}
|