#include #include namespace DB { namespace { struct PiImpl { static constexpr auto name = "pi"; static constexpr double value = 3.1415926535897932384626433832795028841971693; }; using FunctionPi = FunctionMathConstFloat64; } void registerFunctionPi(FunctionFactory & factory) { factory.registerFunction(FunctionFactory::CaseInsensitive); } }