ClickHouse/src/Functions/e.cpp
2020-09-07 21:00:37 +03:00

25 lines
411 B
C++

#include <Functions/FunctionFactory.h>
#include <Functions/FunctionMathConstFloat64.h>
namespace DB
{
namespace
{
struct EImpl
{
static constexpr auto name = "e";
static constexpr double value = 2.7182818284590452353602874713526624977572470;
};
using FunctionE = FunctionMathConstFloat64<EImpl>;
}
void registerFunctionE(FunctionFactory & factory)
{
factory.registerFunction<FunctionE>();
}
}