ClickHouse/dbms/src/Functions/e.cpp
alexey-milovidov f6c264b70b
Every function in its own file, part 9 (#3733)
* Every function in its own file, part 9 [#CLICKHOUSE-2]

* Every function in its own file, part 9 [#CLICKHOUSE-2]
2018-12-03 06:17:06 +03:00

21 lines
396 B
C++

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