ClickHouse/src/Functions/atan2.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
412 B
C++
Raw Normal View History

#include <Functions/FunctionFactory.h>
2020-11-03 15:32:04 +00:00
#include <Functions/FunctionMathBinaryFloat64.h>
namespace DB
{
namespace
{
2020-11-03 15:32:04 +00:00
struct Atan2Name
{
static constexpr auto name = "atan2";
};
using FunctionAtan2 = FunctionMathBinaryFloat64<BinaryFunctionVectorized<Atan2Name, atan2>>;
}
REGISTER_FUNCTION(Atan2)
{
2022-08-27 20:06:03 +00:00
factory.registerFunction<FunctionAtan2>({}, FunctionFactory::CaseInsensitive);
}
}