#include #include template T radians(T d) { return d * (M_PI / 180); } namespace DB { namespace { struct RadiansName { static constexpr auto name = "radians"; }; using FunctionRadians= FunctionMathUnary>; } void registerFunctionRadians(FunctionFactory & factory) { factory.registerFunction(FunctionFactory::CaseInsensitive); } }