blob: 465471cb09bc29b28628bbfa2d8c6346890ea094 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <Functions/FunctionFactory.h>
#include <Functions/FunctionMathBinaryFloat64.h>
namespace DB
{
namespace
{
struct HypotName
{
static constexpr auto name = "hypot";
};
using FunctionHypot = FunctionMathBinaryFloat64<BinaryFunctionVectorized<HypotName, hypot>>;
}
REGISTER_FUNCTION(Hypot)
{
factory.registerFunction<FunctionHypot>({}, FunctionFactory::CaseInsensitive);
}
}
|